help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Reading text file data into matrices for selective plotting


From: Doug Stewart
Subject: Re: Reading text file data into matrices for selective plotting
Date: Wed, 8 Jun 2011 14:57:12 -0400



On Wed, Jun 8, 2011 at 2:02 PM, usagi713 <address@hidden> wrote:
Ah, it is there! Thank you so much! You wouldn't happen to have any ideas
about how to plot certain values. I thought about doing some sort of
combination of a for loop and a while loop but was unsure of the notation.

--
View this message in context: http://octave.1599824.n4.nabble.com/Reading-text-file-data-into-matrices-for-selective-plotting-tp3583138p3583230.html
Sent from the Octave - General mailing list archive at Nabble.com.

Here are some ideas.  

Note: this is not my area of expertise!!!

a=[389.28461 500 5.00E-03 1.00E-03

284.69223 500 1.60E-02 1.00E-03

390.87271 50 5.00E-04 1.00E-03

390.89734 5 5.00E-04 1.00E-03

390.89981 0.5 5.00E-04 1.00E-03

390.90009 5.00E-03 5.00E-04 1.00E-03

]

b=((a==5.0000e-04))

[m,n,o,p]=find(b)

q=a(m,:,:,:)

r=[q(:,1) q(:,2) q(:,4)] 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]