![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/9564321_1522133369256_DEF.jpg)
Luis-Mguel Franco
Followers: 0 Following: 0
Feeds
提问
How to run a MATLAB code in an open API
Hello everyone. I have little experience with MATLAB only using it in college and I have developed a code that my company wants ...
3 years 前 | 1 个回答 | 0
1
个回答提问
ok so I am trying to create a legend that can change if the number of datasets included in the read excel file is changed. How would I go about doing this? Here is the full code so you can get an idea of whats going on.
ffscores=xlsread('Fantasy_football_scores.xlsx'); [number name]=xlsread('Fantasy_Football_players .xlsx'); [num_rows num...
7 years 前 | 1 个回答 | 0
1
个回答提问
I am trying to plot within a for loop, but it is only plotting the last set of data. How would I get all three sets of data in the same graph. The code is included
for i=1:num_cols x=[1:num_rows]; Y=ffscores(:,i); y=Y.'; plot(x,y) hold off xlabel=...
7 years 前 | 1 个回答 | 0