help-octave
[Top][All Lists]
Advanced

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

Re: Question re: argv()


From: Rhys Ulerich
Subject: Re: Question re: argv()
Date: Sun, 19 Jun 2011 11:04:45 -0500

On Sun, Jun 19, 2011 at 10:46 AM, Rhys Ulerich <address@hidden> wrote:
> I'm having trouble understanding some argv()-related behavior.  This
> is likely me not grokking argv()'s resulting cell arrays well.
> ...
> h   = argv(){1}
> sh  = argv(){3}
> s   = sh / h
> ...
> which completely baffles me.  How exactly does 16 / 8 = [0.875,
> 0.96429] ?

I'm dumb.  "16" / "8" = [0.875, 0.96429].  I need to use sscanf.

Sorry,
Rhys


reply via email to

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