Filter löschen
Filter löschen

i have to prepare gui using guide in which i have 200 rows and 5 columns in csv file.first column is x-axis data and rest of 4 columns are y-axis data.how to plot these 4 columns data w.r.t x-axis and all plots should

1 Ansicht (letzte 30 Tage)
i have to prepare gui using guide in which i have 200 rows and 5 columns in csv file.first column is x-axis data and rest of 4 columns are y-axis data.how to plot these 4 columns data w.r.t x-axis and all plots should be in same figure.i have imported csv data into gui using csvread , but how to proceed am not understanding.i am very new to matlab.please guide me.

Antworten (1)

Walter Roberson
Walter Roberson am 11 Dez. 2012
YourData = csvread('YourFile.csv');
X = YourData(:,1);
Y = YourData(:,2:5);
plot(X, Y);

Kategorien

Mehr zu Migrate GUIDE Apps finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by