필터 지우기
필터 지우기

'Timeseries' vs 'Structure with time data' for plot

조회 수: 14 (최근 30일)
Kyoungtak Kim
Kyoungtak Kim 2020년 4월 27일
댓글: Mehmed Saad 2020년 4월 27일
Hello.
I want to plot with my simulink data.
I got two types of data.
One with the Timeseries data with 'To file' block.
The other is the 'structure with time data'.
I plot withe these data, I realize the difference between those two things.
This is the result with Timeseries data.
This is the structure with time data
data is the same as below
What makes these differences?
I tried to draw the graph with excel, I can get the result like I tried to draw with structure with time data.
How can I draw the graph same as the first one?
Thank you.

답변 (1개)

Mehmed Saad
Mehmed Saad 2020년 4월 27일
x = rand(1,10);
figure,plot(x)
figure,stairs(x)
  댓글 수: 4
Kyoungtak Kim
Kyoungtak Kim 2020년 4월 27일
I'm using R2019
Mehmed Saad
Mehmed Saad 2020년 4월 27일
i dont know but i think maybe. I am using R2019a and when i plot time series it gives me normal plot

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

카테고리

Help CenterFile Exchange에서 Time Series에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by