matlab画函数图function r=funr(t)Hs=[0.490.991.491.992.492.993.493.994.494.995.495.99];P=[0.11578842 0.38326167 0.60983902 0.76612339 0.86081392 0.92500750 0.96370363 0.99130087 0.99660034 0.99870013 0.99970003 0.99990001 ];x=log10(Hs-t);y=log10(-
来源:学生作业帮助网 编辑:作业帮 时间:2024/06/25 03:17:05
![matlab画函数图function r=funr(t)Hs=[0.490.991.491.992.492.993.493.994.494.995.495.99];P=[0.11578842 0.38326167 0.60983902 0.76612339 0.86081392 0.92500750 0.96370363 0.99130087 0.99660034 0.99870013 0.99970003 0.99990001 ];x=log10(Hs-t);y=log10(-](/uploads/image/z/1157236-52-6.jpg?t=matlab%E7%94%BB%E5%87%BD%E6%95%B0%E5%9B%BEfunction+r%3Dfunr%28t%29Hs%3D%5B0.490.991.491.992.492.993.493.994.494.995.495.99%5D%3BP%3D%5B0.11578842+0.38326167+0.60983902+0.76612339+0.86081392+0.92500750+0.96370363+0.99130087+0.99660034+0.99870013+0.99970003+0.99990001+%5D%3Bx%3Dlog10%28Hs-t%29%3By%3Dlog10%28-)
matlab画函数图function r=funr(t)Hs=[0.490.991.491.992.492.993.493.994.494.995.495.99];P=[0.11578842 0.38326167 0.60983902 0.76612339 0.86081392 0.92500750 0.96370363 0.99130087 0.99660034 0.99870013 0.99970003 0.99990001 ];x=log10(Hs-t);y=log10(-
matlab画函数图
function r=funr(t)
Hs=[0.49
0.99
1.49
1.99
2.49
2.99
3.49
3.99
4.49
4.99
5.49
5.99
];
P=[0.11578842
0.38326167
0.60983902
0.76612339
0.86081392
0.92500750
0.96370363
0.99130087
0.99660034
0.99870013
0.99970003
0.99990001
];
x=log10(Hs-t);
y=log10(-log(1-P));
p=polyfit(x,y,1);
y1=polyval(p,x);
r=sum((y-y1).^2);
这个函数怎么画
matlab画函数图function r=funr(t)Hs=[0.490.991.491.992.492.993.493.994.494.995.495.99];P=[0.11578842 0.38326167 0.60983902 0.76612339 0.86081392 0.92500750 0.96370363 0.99130087 0.99660034 0.99870013 0.99970003 0.99990001 ];x=log10(Hs-t);y=log10(-
你想画那两个量之间的图像啊?