Find intersection between a line and a curve

I've some points and I've plotted the interpolation between these points x = [94.8;84.4;63.1;49.4;40.6;33.8;23.2;20.1;10.2;9.2;7.9]; y = [0; 11.4;29.7;41.6;47.5;50.1;52.9;50.6;32.2;28.1;0]; f=@(xi)(interp1(x,y,xi,'spline'))
Now I want to find the intersection to another line (for example y = mx+C), and it might intersect twice.

답변 (0개)

카테고리

도움말 센터File Exchange에서 Interpolation에 대해 자세히 알아보기

태그

질문:

2015년 10월 14일

Community Treasure Hunt

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

Start Hunting!

Translated by