help to find and display the mean,median for a matrix
1 view (last 30 days)
Show older comments
The table is # # # # # The first is year.then ace,...... How to find and display the mean of second column and the rest of it. For example, the mean of ace is I used disp(['the mean of ace is ',num2str
0 Comments
Accepted Answer
Image Analyst
on 5 Feb 2013
fprintf('The mean of ace = %f', mean(yourTable(:, 2)));
More Answers (0)
See Also
Categories
Find more on Matrices and Arrays 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!