Info
This question is closed. Reopen it to edit or answer.
How to find the intersection points of these functions?
1 view (last 30 days)
Show older comments
g=-9.81;
x0=0;
y0=1;
v0=585;
q=10;
w=12;
e=14;
x1=0:100:1000;
y1=zeros(size(x1));
x2=1000:100:3014.85;
y2=((616/2014.85)*(x2-1000));
x=[x1 x2];
y=[y1 y2];
yq=(v0*sind(q))*((x-x0)/(v0*cosd(q)))+(1/2)*g*(((x-x0)/(v0*cosd(q))).^2.)+y0;
yw=(v0*sind(w))*((x-x0)/(v0*cosd(w)))+(1/2)*g*(((x-x0)/(v0*cosd(w))).^2.)+y0;
ye=(v0*sind(e))*((x-x0)/(v0*cosd(e)))+(1/2)*g*(((x-x0)/(v0*cosd(e))).^2.)+y0;
%How do I find the intersection points of y with yq,yw,and ye?
0 Comments
Answers (1)
KSSV
on 18 Sep 2018
Have a look on this file exchange: https://in.mathworks.com/matlabcentral/fileexchange/22441-curve-intersections?focused=5165138&tab=function
0 Comments
This question is closed.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!