How can I solve this problem?

5 vues (au cours des 30 derniers jours)
Nada Kadhim
Nada Kadhim le 10 Juin 2015
Error using checklatlon (line 26) Function GEOSHOW expected its first and second input arguments, LAT and LON, to match in size.
Error in geovecshow (line 38) checklatlon(lat, lon, 'GEOSHOW', 'LAT', 'LON', 1, 2);
Error in mapshow (line 231) h = showFcn(varargin{:});
Error in svm_matr_2015 (line 200) mapshow(resrgb,R)

Réponses (1)

Sreeja Banerjee
Sreeja Banerjee le 11 Juin 2015
Looks like you are calling the function "geoshow" using the following syntax:
>> geoshow(lat,lon)
However, the sizes of the variables "lat" and "lon" are different and that is why you are getting this error message. Please remember that "lat" and "lon" must have the same number of elements. This is also clearly stated in the documentation. Please check the "Input Arguments" section:

Tags

Aucun tag saisi pour le moment.

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by