Hi everybody, please I have the dataset on excel and I want to plot variables, I did not find how? I attached my dataset. thanks

댓글 수: 1

You didn't attach anything.
doc xlswrite
is usually used to read excel data in.

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

 채택된 답변

Thorsten
Thorsten 2015년 11월 20일

0 개 추천

X = xlsread('../../Downloads/mexico_data_1900_2005.xls');
plot(X(:,1), X(:,2:end))

댓글 수: 2

Houda
Houda 2015년 11월 20일
it works thanks
Houda
Houda 2015년 11월 20일
how if we want to make four subplots and also having the years at the X axis?

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

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Time Series Events에 대해 자세히 알아보기

질문:

2015년 11월 20일

댓글:

2015년 11월 20일

Community Treasure Hunt

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

Start Hunting!

Translated by