vec2mtx Index exceeds array bounds.

1 Ansicht (letzte 30 Tage)
bstechel
bstechel am 27 Apr. 2022
Whenever i'm using the vec2mtx function i get an error. I tried the my own code, the examples on the vec2mtx page and some examples of the forum.
This is error notice:
Index exceeds array bounds.
Error in gcd (line 8)
Kcoli = par(1); Kdisco = par(2);
Error in map.rasterref.internal.simplifyRatio>simplify (line 39)
g = gcd(num, den);
Error in map.rasterref.internal.simplifyRatio>rationalize (line 59)
[num, den] = simplify(n,d);
Error in map.rasterref.internal.simplifyRatio (line 30)
[num, den] = rationalize(num, den);
Error in map.rasterref.GeographicRasterReference/setAbsoluteDeltaLatitude
(line 1117)
[num, den] =
map.rasterref.internal.simplifyRatio(absoluteDeltaLatitude, 1);
Error in map.rasterref.GeographicCellsReference/set.CellExtentInLatitude
(line 140)
R = setAbsoluteDeltaLatitude(R, cellExtentInLatitude);
Error in georefcells (line 80)
R.CellExtentInLatitude = cellExtentInLatitude;
Error in vec2mtx>referenceOutput (line 240)
R1 = georefcells(latlim, lonlim, 1/density, 1/density);
Error in vec2mtx (line 91)
[fill, sizeZ, R] = referenceOutput(lat, lon, varargin{:});

Antworten (0)

Kategorien

Mehr zu Structures finden Sie in Help Center und File Exchange

Produkte


Version

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by