How to Plot data in excel sheet using MATLAB ?
Mostrar comentarios más antiguos
OUTPUT I WANT

I want this chart using matlab...!!
xlswritefig function not allowed ..!!
3 comentarios
Rik
el 15 de Nov. de 2021
Instead of flagging your question as unclear, why don't you improve it by editing it?
Divyesh pandav
el 16 de Nov. de 2021
Rik
el 16 de Nov. de 2021
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.
Respuesta aceptada
Más respuestas (1)
KSSV
el 15 de Nov. de 2021
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 comentarios
Divyesh pandav
el 16 de Nov. de 2021
Divyesh pandav
el 16 de Nov. de 2021
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
el 16 de Nov. de 2021
KSSV
el 16 de Nov. de 2021
Solution is already given.
Divyesh pandav
el 16 de Nov. de 2021
Rik
el 16 de Nov. de 2021
So you want to use Matlab to create a bar chart in your excel file? Why not do that in excel directly?
Divyesh pandav
el 16 de Nov. de 2021
Categorías
Más información sobre Spreadsheets en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

