知道y的值,怎么标注出对应x值所对应曲线的坐标啊;matlabx=linspace(0,15,16);y=25*x;y1=0.2*0.0045*x.^5-0.25*0.1517*x.^4+1.7807/3*x.^3-0.5*8.3483*x.^2+29.2147*x;L=(y-y1)*6.5/3;plot(x,L)现在我想求出L=160的x值,并且在图上
来源:学生作业帮助网 编辑:作业帮 时间:2024/11/16 13:04:52
知道y的值,怎么标注出对应x值所对应曲线的坐标啊;matlabx=linspace(0,15,16);y=25*x;y1=0.2*0.0045*x.^5-0.25*0.1517*x.^4+1.7807/3*x.^3-0.5*8.3483*x.^2+29.2147*x;L=(y-y1)*6.5/3;plot(x,L)现在我想求出L=160的x值,并且在图上
知道y的值,怎么标注出对应x值所对应曲线的坐标啊;matlab
x=linspace(0,15,16);
y=25*x;
y1=0.2*0.0045*x.^5-0.25*0.1517*x.^4+1.7807/3*x.^3-0.5*8.3483*x.^2+29.2147*x;
L=(y-y1)*6.5/3;
plot(x,L)
现在我想求出L=160的x值,并且在图上标注出来.
知道y的值,怎么标注出对应x值所对应曲线的坐标啊;matlabx=linspace(0,15,16);y=25*x;y1=0.2*0.0045*x.^5-0.25*0.1517*x.^4+1.7807/3*x.^3-0.5*8.3483*x.^2+29.2147*x;L=(y-y1)*6.5/3;plot(x,L)现在我想求出L=160的x值,并且在图上
clear;clc;
x=linspace(0,15,16);
y=25*x;
y1=0.2*0.0045*x.^5-0.25*0.1517*x.^4+1.7807/3*x.^3-0.5*8.3483*x.^2+29.2147*x;
L=(y-y1)*6.5/3;
plot(x,L);
hold on;
x160=interp1(L,x,160);
plot(x160,160,'r.');
text(x160,160,sprintf(' (%g,%g)',x160,160));