[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Octave
From: |
c. |
Subject: |
Re: Octave |
Date: |
Sun, 13 Apr 2014 22:23:25 +0200 |
On 13 Apr 2014, at 21:39, eugenio.pariani <address@hidden> wrote:
> Hello
>
> I’m a beginner in the use of the SW Octave ed. for windows 3.8 and I have a
> short question which could be related to my no-experience.
> I tried to start introducing this simple command
>
> >> input (“a number”)
> a number100 (of course 100 was written by me)
> ans = [](0×0)
> >>
> I was expecting (reading the manual):
> >> input (“a number”)
> a number100
> ans = 100
> >>
> Where is my mistake? Would you help me?
>
>
> Thanks in advance
> Eugenio
I guess you should assign the input value to a variable:
>> a = input ("a number ")
a number 100
a = 100
>>
c.
- Octave, eugenio.pariani, 2014/04/13
- Re: Octave,
c. <=
- Re: Octave, Ben Abbott, 2014/04/13
- Re: Octave, Sergei Steshenko, 2014/04/13
- Re: Octave, c., 2014/04/13
- Re: Octave, Ben Abbott, 2014/04/13
- Re: Octave, Sergei Steshenko, 2014/04/13
- Re: Octave, Sergei Steshenko, 2014/04/13