Azzera filtri
Azzera filtri

How can I solve this problem?

7 visualizzazioni (ultimi 30 giorni)
Nada Kadhim
Nada Kadhim il 10 Giu 2015
Risposto: Sreeja Banerjee il 11 Giu 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)

Risposte (1)

Sreeja Banerjee
Sreeja Banerjee il 11 Giu 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:

Tag

Non è stata ancora inserito alcun tag.

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by