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 CenterFile Exchange에서 Data Import from MATLAB에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by