ploting data excel to matlab
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
joni nababan
am 20 Feb. 2020
Kommentiert: Adam
am 24 Feb. 2020
hello, please help
i have problem to plot a data excel to matlab. how i can fix it?
6 Kommentare
Jon
am 20 Feb. 2020
Please explain what problem you are experiencing when you try to run your code. Also, if you select your code and the click the code button on the MATLAB Answers toolbar it will format nicely.
Akzeptierte Antwort
darova
am 20 Feb. 2020
I corrected your script. Try now
[filename,path] = uigetfile('.xlsx')
dataExcel = xlsread(fullfile(path,filename))
penghasilan = dataExcel(:,4); % no need: 1:size(dataExcel,1)
skor = dataExcel(:,5);
plot(penghasilan,skor)
4 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Spreadsheets finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!