Asked by THANH NGUYEN
on 5 Feb 2013

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

*No products are associated with this question.*

Answer by Image Analyst
on 5 Feb 2013

Accepted answer

fprintf('The mean of ace = %f', mean(yourTable(:, 2)));

Show 5 older comments

THANH NGUYEN
on 6 Feb 2013

THANH NGUYEN
on 6 Feb 2013

ace_data =[years,ace,tropical_storm,hurricanes,major_hurricanes]; x=max(ace_data(:,2)); disp(sortrows(ace_data,-2))

not running, error line 41. I don't know what 's wrong.

Related Content

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi test

Learn moreOpportunities for recent engineering grads.

Apply Today
## 0 Comments