
matlab
lh2018i
这个作者很懒,什么都没留下…
展开
-
数值计算-回归分析函数总结
回归分析[b,bint,r,rint,stats]=regress(Y,X,alpha)rcoplot(r,rint)x1=[3.5 5.3 5.1 5.8 4.2 6.0 6.8 5.5 3.1 7.2 4.5 4.9 8.0 6.5 6.5 3.7 6.2 7.0 4.0 4.5 5.9 5.6 4.8 3.9];x2=[9 20 18 33 31 13 25 30 5 47 25 11 23 35 39 21 7 40 35 23 33 27 34 15];x3=[6.1 6.4 7.原创 2020-11-10 15:32:49 · 1350 阅读 · 0 评论 -
数值计算画图练习记录
画图代码a=4;b=2;t=0:2*pi/100:2*pi;x=a*cos(t);y=b*sin(t);plot(x,y,'r','Marker','diamond');axis([-4,4,-3,3]);xlabel('x');ylabel('y');%第二题theta=0:pi*2/100:2*pi;p=1-cos(theta);axis square;handle=polar(theta,p,'r');set(handle,'LineWidth',3);%第三题A=[1原创 2020-10-18 15:07:13 · 258 阅读 · 1 评论