MATLAB分段函数
MATLAB分段函数
x=-5:0.1:5;
if x>=1
y=3*x.^2+1;
elseif -1
其他人气:952 ℃时间:2020-02-05 01:04:52
优质解答
x=-5:0.1:5;
if x>=1
y=3*x.^2+1;
else if -1不对啊,你运行试过了没?结果不正确clc,clear all x=-5:0.1:5; if x>=1y=3*x.^2+1; else if -1=1y=3*x.^2+1; else if -1
我来回答
类似推荐