Rahul
2008-04-21 20:43:02 UTC
Is there an easy way to print a matrix to stdout without the "ans =" or
similar string that octave prepends variable outputs?
I was writing a octave command line script and trying to be true with the
Linux philosophy of being terse so that other pipes could better process
the octave output.
Example:
#!/usr/bin/octave --silent
a=[1 0 0; 0 1 0 ; 0 0 1];
inv(a)
exit
similar string that octave prepends variable outputs?
I was writing a octave command line script and trying to be true with the
Linux philosophy of being terse so that other pipes could better process
the octave output.
Example:
#!/usr/bin/octave --silent
a=[1 0 0; 0 1 0 ; 0 0 1];
inv(a)
exit
--
Rahul
Rahul