Borrar filtros
Borrar filtros

How can I solve this problem?

7 visualizaciones (últimos 30 días)
Nada Kadhim
Nada Kadhim el 10 de Jun. de 2015
Respondida: Sreeja Banerjee el 11 de Jun. de 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)

Respuestas (1)

Sreeja Banerjee
Sreeja Banerjee el 11 de Jun. de 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:

Etiquetas

Aún no se han introducido etiquetas.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by