Input matrix easy question
Oscar Bayona Candel
oscarbayonacandel at hotmail.com
Wed Jan 30 05:54:04 CST 2008
Hi all,
This is an easy question but I writte you because I´m not able to find the solution.
Well I want to use an input file of data supuse matrix A which has 3 rows and 4 colums.
I define this matrix in a file like this
function [A]=EX();
A=[1 2 3 4
2 3 4 8
3 5 5 5];
I save this information in a file.
In another file I want to call A from EX()
so I type [A]=EX();
But I don´t now why it only recognise the first column¡¡¡ In facto if I pick size(A) it says 1,3
What I´m doing wrong?
My intention is to rest A(2,1)-A(1,2)
Thanks and sorry for this silly questions.
_________________________________________________________________
Tecnología, moda, motor, viajes,…suscríbete a nuestros boletines para estar siempre a la última
Guapos y guapas, clips musicales y estrenos de cine.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.cae.wisc.edu/pipermail/help-octave/attachments/20080130/f4b936d8/attachment.html
More information about the Help-octave
mailing list