Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

How I can solve error in local_scaling function from Weaclim toolbox?

1 Ansicht (letzte 30 Tage)
Szabó-Takács Beáta
Szabó-Takács Beáta am 29 Apr. 2015
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
When I use local_scaling function from weaclim toolbox, I get a warning message:
[GCM3,PGCM,SCALING]=local_scaling(mod,obs,seas3,1);
Warning: Size vector should be a row vector with integer elements.
> In copy at 20
In local_scaling at 34
Error using reshape
Size arguments must be real integers.
Error in copy (line 21)
X=reshape(X,NC,NR*N);
Error in local_scaling (line 34)
S=copy(seas,nyear);
The mod and obs are the modeled and obsrved precipitation values in 3D matrices in function of longitude, latitude and days (464x201x10957) from 1961.01.1 to 1990.12.31. The seas3 is a 360 long vector which contains the months (e.g 31,28,31,30,….31) during the 30 years.
Could someone write me what I made wrong and what I should to do?

Antworten (0)

Diese Frage ist geschlossen.

Community Treasure Hunt

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

Start Hunting!

Translated by