[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: problem with matrices operator
From: |
febty febriani |
Subject: |
Re: problem with matrices operator |
Date: |
Thu, 8 Oct 2009 21:22:03 +0900 |
Dear all,
thanks very much for your response. I tried what John suggested. It worked perfectly with a little trick. Maybe, my data size are too large so Octave can not plot my data, so I used trick to save all the result of matrices operator and plot by gnuplot.
For John, I run my Octave script in Bash, because I must run the script more than once, so I used $, and {} to define my data folder.
Again, thanks very much.
best regards,
febty
2009/10/8
<address@hidden>
Hi
Your problem is that you only have one row but you want to read a matrix in. Say, A(:,1) will give you all rows for the first column whic you have.
A(:,2) will try to read the second column all rows... But it is not there.
Fix your iinput and you are done.
Btw you can use "load" to bring in your file since it only has numbers. Try that.
Good luck.
Leo.
-----Original Message-----
From: febty febriani <address@hidden>
Date: Thu, 8 Oct 2009 11:36:56
To: <address@hidden>
Subject: problem with matrices operator
_______________________________________________
Help-octave mailing list
address@hidden
https://www-old.cae.wisc.edu/mailman/listinfo/help-octave
--
******
febty febriani
Indonesian Institute of Sciences
Research Center for Physics
Kompleks PUSPIPTEK
Serpong, Indonesia, 15314