- all the code and error message in context to see what generated the message and the entire message
- data to reproduce the problem.
interp2:invalidMeshgrid problems
7 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I'm trying to use VMT extention and matlab is showing me a message about a invalid mesh grid
the error name is interp2:InvalidMeshgrid
Anyone knows what is this?
1 Kommentar
dpb
am 29 Aug. 2022
Not without
Antworten (1)
Divyam
am 30 Apr. 2025
The 'interp2' function expects the first two input matrices/grid vectors to define a valid 2D grid. The error you are facing implies that the matrices or grid vectors defined in your code do not create a valid 2D grid. Here are a few troubleshooting steps that you can try out to resolve your error:
- Check that the inputs are 2D matrices of the same size
- Check the data passed by the VMT extension and verify that is passes a valid grid
- If your data is scattered, use 'griddata' instead of 'interp2'
For more information regarding the 'griddata' function, refer to the following documentation: https://www.mathworks.com/help/matlab/ref/griddata.html
0 Kommentare
Siehe auch
Kategorien
Mehr zu Graphics Performance finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!