In MATLAB how is it possible to select a certain data portion from a big file of data?
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Anuradha Bhattacharya
am 13 Feb. 2015
Beantwortet: Adam
am 13 Feb. 2015
I have a time series data which I am loading. I want to know how to plot only a segment of the data. What are the commands in MATLAB for that?
0 Kommentare
Akzeptierte Antwort
Adam
am 13 Feb. 2015
If you have it in memory then just e.g.
A = rand(500,500,500);
figure; plot( A(:,:,33)
figure; plot( A(22,:,:)
figure; imagesc( squeeze( A(:,99,99) );
If the data is too big to load all of it into memory to plot a small part of it then
doc matfile
should help. It allows you to access data on disk as though it were in memory, using indexing just like above, but with A represented by a matfile.
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Creating, Deleting, and Querying Graphics Objects finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!