Extract an arbitrary vector from a matrix

Hi!
I have a Matrix X (97, 241) and other Y (97, 241) in reference to Longitude and Latitude.
I want to extract a vector from each one that is a combination of differents Rows and Columns.
This combination is specify by an specific starting point and end, lets say I want to start at (4,8) and end at (81, 25) so I want a vector of latitude and other of longitude that are the points connecting this to inicial and ending point.
Thanks!

更多回答(0 个)

类别

在 帮助中心 和 File Exchange 中查找有关 Language Fundamentals 的更多信息

产品

版本

R2016a

Community Treasure Hunt

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

Start Hunting!

Translated by