vectors are not same for ploting

2 views (last 30 days)
ind=strcmpi(names,'United States');
fatality_per = fatalityr*100;
moving_avg 57*429 double
fatality_per 57*430 double
vector are not same what should be the modification in order to make scatter plot

Accepted Answer

Cris LaPierre
Cris LaPierre on 29 May 2021
Make moving_avg a 57x429 array, or make fatality_per a 57x429 array.
It appears you have more columns of data in dailycases than you do in covid_cases and covid_deaths
Image Analyst
Image Analyst on 30 May 2021
@Muhammad SULAMAN, what do the rows represent in your array? What do the columns represent? Does it make sense to lump them all together into one massive scatterplot? Or would it be more understandable to scatter just two corresponding rows or columns against each other?

Sign in to comment.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!