用matlab画分段函数图
问题描述:
用matlab画分段函数图
y(x)=100x.^2 0
答
clearclc;x=0:0.01:1;n=length(x);y=zeros(1,n);for i=1:101 if x(i)<=0.25 y(i)=100*x(i).^2; else...
用matlab画分段函数图
y(x)=100x.^2 0
clearclc;x=0:0.01:1;n=length(x);y=zeros(1,n);for i=1:101 if x(i)<=0.25 y(i)=100*x(i).^2; else...