How to summarise every column
Ältere Kommentare anzeigen
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 Kommentar
Walter Roberson
am 21 Nov. 2017
What size of output are you expecting when you multiply 100 columns by 49 columns ?
Antworten (1)
Chong How Hung
am 22 Nov. 2017
Bearbeitet: Walter Roberson
am 22 Nov. 2017
Kategorien
Mehr zu Financial Toolbox finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!