How to extract one dimention of an matrix, keeping the two other dimention constant?
2 views (last 30 days)
Show older comments
I have a matrix of dimetion 361*181*1053, in which the first two dimention specifies lattitude and longitude, I want to extract the 3rd dimention data for a specified range of latitude and longitude,?
example- I want data from lattitude 50:55 and longitude 80:100.
I want a matrix with (80:100,50:55,:).
please help me with it.
0 Comments
Accepted Answer
madhan ravi
on 19 Nov 2018
matrix(80:100,50:55,4:5) %extracts 4 and 5 th page same like you do for the first two dimensions
0 Comments
More Answers (0)
See Also
Categories
Find more on Shifting and Sorting Matrices in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!