Re: error: value on right hand side of assignment is undefined

PhilipNienhuis <[email protected]>
Newsgroups gmane.comp.gnu.octave.general
Message-ID <[email protected]>
haryys wrote
> &lt;https://octave.1599824.n4.nabble.com/file/t373915/perimetras.png&gt; 
> &lt;https://octave.1599824.n4.nabble.com/file/t373915/plotas.png&gt; 
> &lt;https://octave.1599824.n4.nabble.com/file/t373915/scenarijus.png&gt; 
> &lt;https://octave.1599824.n4.nabble.com/file/t373915/error.png&gt; 

That's not much info, just some pictures of output :-)
Please upload the script you used and the values of the arguments it is
called with.
Maybe in function 'perimetras' you could start with the separate statements
a
b

to simply echo the values of a and b.
The pics you showed make me suspect that variable 'b' hasn't been
initialized.

philip




--
Sent from: https://octave.1599824.n4.nabble.com/Octave-General-f1599825.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.