Filter löschen
Filter löschen

HOW TO PLOT AN ECONOMIC SERIES

2 Ansichten (letzte 30 Tage)
Houda
Houda am 20 Nov. 2015
Kommentiert: Houda am 20 Nov. 2015
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 Kommentar
Adam
Adam am 20 Nov. 2015
You didn't attach anything.
doc xlswrite
is usually used to read excel data in.

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Thorsten
Thorsten am 20 Nov. 2015
X = xlsread('../../Downloads/mexico_data_1900_2005.xls');
plot(X(:,1), X(:,2:end))
  2 Kommentare
Houda
Houda am 20 Nov. 2015
it works thanks
Houda
Houda am 20 Nov. 2015
how if we want to make four subplots and also having the years at the X axis?

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by