[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Please tell me if this code works
From: |
lc |
Subject: |
Please tell me if this code works |
Date: |
Sun, 10 Feb 2008 18:39:21 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031107 Debian/1.5-3 |
Maybe I have a too old version of octave, but, please,
can you tell me if this code works:
function V= vol(h,s); V=h*s.R^2; endfunction
a.R=10
a.v=@(h)( vol(h, a ) );
a.v(2)
I got the error
error: `a' undefined near line ...
Thanks
lc
- Please tell me if this code works,
lc <=