Writing the matlab matrix in geotiff, whats wrong with this script?
3 views (last 30 days)
Show older comments
What I am making mistake here?
basename = 'test';
rasterSize = [890 751];
refmat = makerefmat( ...
'RasterSize', rasterSize, 'Latlim', [00.00 44.50], ...
'Lonlim', [67.50 105.0250]);
R = refmatToGeoRasterReference(refmat, rasterSize);
filename = [test '.tif'];
testttif = geotiffwrite(filename, test, R);
I am getting this error Error using horzcat Dimensions of matrices being concatenated are not consistent.
0 Comments
Accepted Answer
More Answers (0)
See Also
Categories
Find more on Map Display in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!