Effacer les filtres
Effacer les filtres

HOW TO PLOT AN ECONOMIC SERIES

2 vues (au cours des 30 derniers jours)
Houda
Houda le 20 Nov 2015
Commenté : Houda le 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 commentaire
Adam
Adam le 20 Nov 2015
You didn't attach anything.
doc xlswrite
is usually used to read excel data in.

Connectez-vous pour commenter.

Réponse acceptée

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

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by