【MATLAB】小白求大神解答

2024-11-25 02:13:01
推荐回答(2个)
回答1:

x1=x;
x1(find(x<0))=0;
x2=x(find(x>3));
temp=find(mod(x,2)==0);
x3=x;
x3(temp)=x3(temp)+3;
temp=mean(x);
x4=x;
x4(find(xx5=x;
x5(find(x>temp))=x5(find(x>temp))-temp;

回答2:

这种题目还要上百度,童鞋!你不适合编程!放弃吧!