Community Profile

photo

Luis-Mguel Franco


Last seen: environ 2 ans il y a Actif depuis 2017

Statistiques

Content Feed

Afficher par

Question


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 ...

plus de 2 ans il y a | 1 réponse | 0

1

réponse

Question


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...

environ 6 ans il y a | 1 réponse | 0

1

réponse

Question


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=...

environ 6 ans il y a | 1 réponse | 0

1

réponse