Comparing 2 matrix with different size
이전 댓글 표시
Hi there! I am starting with matlab and I am a mess now.. I have a matrix A (69497x3) with latitude, longitude and depth, like:
-20.32245 54.00025 -4852
-20.33474 54.02638 -4352
-20.34776 54.05798 -3127
...
and a matrix B (601x601) with depth values. (I know the coordinates, latitude from -17º to -23º South, and longitude from 54º to 60º East)
-4600 -4589 -4572 -4555...
-4592 -4579 -4563 -4546...
...
I would like to find the values of matrix A on matrix B and generate a vector with the difference of the values. the number of values on A is lower than on B so the result should only contain the difference if there value exist in both matrix.
Thanks in advanced!
댓글 수: 2
Azzi Abdelmalek
2016년 7월 13일
Can you post the expected result for the example you posted?
Maite M.
2016년 7월 13일
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Coordinate Reference Systems에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!