How to summarise every column
Show older comments
nba=xlsread('nba.xls')
attendance = nba(:,1);
price = nba(:,2);
bar3 (attendance, price)
bar3 (attendance,1.0)
bar3 (attendance,'y')
title('NBA Attendance vs. Ticket Price')
xlabel('Ticket Price $')
ylabel('Attendance')
grid on
Hi, im actually just started using Matlab. What im trying to do is i have two columns with digit andn im trying to make a calculation on every column how do I do that ? ( Example column 1 : 100 , column 2 : 50 ) How do I multiple it and get the answer on a new bar chart or somewhere? ( I have load of column )
1 Comment
Walter Roberson
on 21 Nov 2017
What size of output are you expecting when you multiply 100 columns by 49 columns ?
Answers (1)
Chong How Hung
on 22 Nov 2017
Edited: Walter Roberson
on 22 Nov 2017
Categories
Find more on Financial Toolbox in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!