Extract data along line from gridded data

6 views (last 30 days)
Hi all,
I have a gridded datamatrix
ex: var_mat(x1,y1) = var
x1 [ 1000,1] = [ x direction corrdinates]
y1 [100,1] = [y direction coordinates]
I need to extract data along particular line where i know (x,y) corrdinates
The dark line need to be extracted.

Accepted Answer

KSSV on 3 Oct 2022
Read about interp2.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!