griddata Parameter must be a 'double matrix'
Mostrar comentarios más antiguos
I am running version R2011b. I am trying to re-grid data from an irregular lat/lon grid to a regular lat/lon grid. My input arrays X, Y, Z are dimensioned (349,277). My target grid is dimensioned (96,60). When griddata is called I get an error in DelaunayTri as "Parameter must be a 'double matrix'". I have used griddata in the past with no problems and I can not figure out what this error message means. Any suggestions?
Respuestas (2)
Sean de Wolski
el 5 de Sept. de 2014
What is the class of the variables?
class(X)
If it's not double, convert it to double using double()
1 comentario
enrique acuña
el 17 de Dic. de 2019
Thanks, I had the same problem and I managed to solve it with your answer. Cheers
Mike
el 5 de Sept. de 2014
0 votos
Categorías
Más información sobre Performance and Memory 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!