finding the two coordinates

조회 수: 2(최근 30일)
Babu Sankhi
Babu Sankhi 2020년 10월 1일
댓글: Babu Sankhi 2020년 10월 4일
Hi all,
I have a plot from experimental data. I want to find the two values of x that corresponds to y=0. Basically, I want to find the coordinates A and B ( in both coordinates y=0) in the file attached below. I tried by using " find (x==0)" but it gave me blank. Can you please help how can I find them?
Thank you

채택된 답변

Matt J
Matt J 2020년 10월 2일
fzero(@(x)interp1(A,x), [1,numel(A)])
  댓글 수: 13
Babu Sankhi
Babu Sankhi 2020년 10월 4일
Thank you ,
It worked now.

댓글을 달려면 로그인하십시오.

추가 답변(0개)

Community Treasure Hunt

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

Start Hunting!

Translated by