作业帮 > 综合 > 作业

matlab randn怎么写成分段的?

来源:学生作业帮 编辑:大师作文网作业帮 分类:综合作业 时间:2024/11/20 10:59:34
matlab randn怎么写成分段的?
y1=0.4*randn(1,300)+5;
yy1=0.4*randn(1,300)+6;
如何在新函数中(0,300)中取值y1,(300,600)中取值yy1?
matlab randn怎么写成分段的?
F=y1.*(x>=0 & x300 & x
再问: X怎么定义才对啊?下面这两种都报错 >> syms x >> F=y1.*(x>=0 & x300 & x sym.sym>notimplemented at 2514 Function 'ge' is not implemented for MuPAD symbolic objects. Error in ==> sym.sym>sym.ge at 814 notimplemented('ge'); >> x=0:600; >> F=y1.*(x>=0 & x300 & x=0 & x300 & x