如何创建这样的矢量:
a = [a_1;a_2;...,a_n]; aNew = [a;a.^2;a.^3;...;a.^T].
是否可以在没有循环的情况下创建一个新的?
math matlab vector
math ×1
matlab ×1
vector ×1