interpolate and resize matrix?

9 ビュー (過去 30 日間)
Alecd
Alecd 2017 年 4 月 4 日
回答済み: Spencer Chen 2017 年 4 月 4 日
Hello, I have a matrix filled with 1s and 0s that represent a sector of a worldmap. (1s are land and 0s the ocean). The size is 181x 181.
I would like to resize the matrix to 3600x3600 and interpolate the values.
I need to do this so the map fits with another tiff file which have the following coordinates X [-89.9958 -60.0042]. Y [29.9958 0.0042] (its a part of the caribbean) and these coordinates are in a 3600x3600 matrix.
Hope you can help me!

採用された回答

Spencer Chen
Spencer Chen 2017 年 4 月 4 日
You can look up Matlab's "interp2" built-in function.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeResizing and Reshaping Matrices についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by