1.matlab求数组的平方放入另一个数组

1.pf=ans.^2

将数组ans乘以ans然后存放到pf中。

plot(pf)

如图

猜你喜欢

转载自blog.csdn.net/dongxinddd123/article/details/84968582