how to plot 1x1 struct timeseries having field names cell 1x1 array? The .mat file is a time series data with 3 columns of data with respect to time.
조회 수: 25 (최근 30일)
이전 댓글 표시
% % Plotting data from the .mat file
data = load('THPWM.mat')
sCell = struct2cell(data);
Array = [sCell{:}];
t= Array(:,1);
x= Array(:,2);
plot(t,x);
채택된 답변
추가 답변 (0개)
참고 항목
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!