Using map2mat for eof analysis!
Mostrar comentarios más antiguos
I have a matrix mm_r of the size 361*361*36; where 36 represent the number of years
i need to make it of size 36*130321
% Get EOFs:
G = map2mat(ones(size(mm_r,3),size(mm_r,2)),mm_r);
- *the error message is Attempted to access F(37,1); index out of bounds because size(F)=[36,361].
Error in map2mat (line 30) if F(ix,iy)>0**
Respuestas (3)
Chad Greene
el 13 de Mzo. de 2017
0 votos
Hi Sophia,
Be careful, because map2mat assumes the first dimension is time. For normal climate data (lon*lat*time or lat*lon*time) it's probably easier to use eof, which does all the reshaping for you.
6 comentarios
Sophia
el 13 de Mzo. de 2017
Chad Greene
el 13 de Mzo. de 2017
My eof function is little more than a wrapper for PCATool's caleof function to make it more user friendly.
Sophia
el 15 de Mzo. de 2017
Chad Greene
el 15 de Mzo. de 2017
Hi Sophia,
I cannot understand your result either given the information you have provided.
Sophia
el 16 de Mayo de 2017
Sophia
el 16 de Mayo de 2017
Sophia
el 16 de Mayo de 2017
Categorías
Más información sobre Dimensionality Reduction and Feature Extraction en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

