In MATLAB how is it possible to select a certain data portion from a big file of data?

1 次查看(过去 30 天)
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?

采纳的回答

Adam
Adam 2015-2-13
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 个)

类别

Help CenterFile Exchange 中查找有关 Annotations 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by