How to Plot data in excel sheet using MATLAB ?
이전 댓글 표시
OUTPUT I WANT

I want this chart using matlab...!!
xlswritefig function not allowed ..!!
댓글 수: 3
Rik
2021년 11월 15일
Instead of flagging your question as unclear, why don't you improve it by editing it?
Divyesh pandav
2021년 11월 16일
Rik
2021년 11월 16일
Flags are used to attract the attention of site administrators. Please use comments to clarify what you mean and how that differs from the suggested solution.
채택된 답변
추가 답변 (1개)
KSSV
2021년 11월 15일
Your excel file has no much data. You can read the data from excel file into workspace using readtable.
T = readtable('test.xlsx') ;
You can use the table to plot what you want.,
댓글 수: 8
Divyesh pandav
2021년 11월 16일
Divyesh pandav
2021년 11월 16일
T = readtable('https://in.mathworks.com/matlabcentral/answers/uploaded_files/799574/test.xlsx') ;
A = table2array(T(2:end,2:end)) ;
l = T.(1) ;
bar(A)
xticklabels(l)
Divyesh pandav
2021년 11월 16일
KSSV
2021년 11월 16일
Solution is already given.
Divyesh pandav
2021년 11월 16일
Rik
2021년 11월 16일
So you want to use Matlab to create a bar chart in your excel file? Why not do that in excel directly?
Divyesh pandav
2021년 11월 16일
카테고리
도움말 센터 및 File Exchange에서 Spreadsheets에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

