Visualisation of multichannel time series data

조회 수: 4 (최근 30일)
deboleena sadhukhan
deboleena sadhukhan 2023년 2월 17일
댓글: deboleena sadhukhan 2023년 2월 24일
I have XxY sensor channels arranged in a matrix of X and Y dimension each recording time series data. As an output I have XxYxN matrix where X and Y are the spacial indices of the sensors and N in the time indices. How do I visualise this data while retaining the spatial indices of the channels.
I was using surf function over (XxY) matrix with a for loop over N to make a video;
But I want to visualise all the time series data across all channels i.e; the entire XxYxN matrix in a single image;
How can I do that?
Just for reference, the size of my matrix is 30X40X500

채택된 답변

Kevin Holly
Kevin Holly 2023년 2월 17일
편집: Kevin Holly 2023년 2월 17일
Would something like this work?
time = 1:.1:50; % 500 data point
signal = cos(time);
for ii = 1:30
for jj = 1:40
plot3(ii*ones(size(signal)),1:length(signal),jj+signal)
hold on
end
end
If you have on large matrix (30x40x500) called m, you may code it as such:
for ii = 1:size(m,1)%or ii = m(:,1,1)
for jj = 1:size(m,2)%or jj = m(1,:,1)
plot3(ii*ones(length(m)),1:length(m),jj+m(ii,jj,:))
hold on
end
end
  댓글 수: 7
deboleena sadhukhan
deboleena sadhukhan 2023년 2월 23일
Thanks a lot, this works fine;
But I think in my case, for detecting the spatial and temporal location of events, this kind of display is not efficient;
Making an animation will be useful;
Thanks alot for all your help;
deboleena sadhukhan
deboleena sadhukhan 2023년 2월 24일
Also can you please suggest how can I employ "isosurface" to visualise my matrix?
My matrix is having values in the [-0.1 - +0.1].

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Line Plots에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by