ploting data excel to matlab

1 回表示 (過去 30 日間)
joni nababan
joni nababan 2020 年 2 月 20 日
コメント済み: Adam 2020 年 2 月 24 日
hello, please help
i have problem to plot a data excel to matlab. how i can fix it?
  6 件のコメント
Jon
Jon 2020 年 2 月 20 日
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.
joni nababan
joni nababan 2020 年 2 月 24 日
my problem is to make a graph of the data that is in excel

サインインしてコメントする。

採用された回答

darova
darova 2020 年 2 月 20 日
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 件のコメント
joni nababan
joni nababan 2020 年 2 月 24 日
yes
Adam
Adam 2020 年 2 月 24 日

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeData Import from MATLAB についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by