help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Octave


From: Ben Abbott
Subject: Re: Octave
Date: Sun, 13 Apr 2014 16:35:29 -0400

On Apr 13, 2014, at 4:23 PM, c. <address@hidden> wrote:

> 
> 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.

Matlab behaves as Eugenio expected.

        input ('a number')
        a number100
        ans =   100

Bug report?

Ben





reply via email to

[Prev in Thread] Current Thread [Next in Thread]