how can i creat Box plot
Show older comments
hi , i want to create a box plot for a matrix with 20 column and 1500 rows. one box per column. my data are at a excel file ; is the following code is true ?
clear
clc
m =xlsread('data.xlsx');
figure;
boxplot(m);
each time i run this code , Matlab gives me Error , what is wrong whit this code ? thanks
5 Comments
Michael Haderlein
on 16 Aug 2014
Please tell us
- the error message
- size(m)
baran
on 16 Aug 2014
baran
on 16 Aug 2014
Michael Haderlein
on 16 Aug 2014
I suppose the part of the path you have deleted links to a self-written file named "boxplot.m". Matlab will try to execute this file (which seems to be a script) instead of the original function. You should rename the respective file.
baran
on 16 Aug 2014
Answers (0)
Categories
Find more on Spreadsheets in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!