Vectors must be the same length - No idea why they are not!
Info
This question is closed. Reopen it to edit or answer.
Show older comments
Hi everyone!
I am attaching a code that eventually will evaluate the performance of a numerical model against observational values. Up to this point, I am inserting .xlsx files that contain measurements from several weather stations.
The error appears in line 182, when I try to plot mean hourly values of temperature. Y axis should be Hourly_Temp_mean and X axis H_date_Unique. In my mind these two must have equal dimensions but it appears that this is not the case. Of course with different dimensons, the plot cannot be produced.
Any contributions will be much appreciated....
4 Comments
darova
on 18 Jan 2020
The code is too long
Walter Roberson
on 18 Jan 2020
We do not have your
'C:\PhD\Projects\LIFE ASTI\C.3\Weather station data\from desktop\Obs. data 4 Keppas\'
to construct a recursive directory listing of. I am assuming here that rdir() is https://www.mathworks.com/matlabcentral/fileexchange/19550-recursive-directory-listing
Daphne PARLIARI
on 19 Jan 2020
Sindar
on 20 Jan 2020
Have your code debug/pause at the error and check the size of your variables
Answers (0)
This question is closed.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!