在matlab中x=[ones(n,1) x1 x2 (x2.^2)]; 有什么用?

来源:学生作业帮助网 编辑:六六作业网 时间:2024/05/21 14:22:24
在matlab中x=[ones(n,1)x1x2(x2.^2)];有什么用?在matlab中x=[ones(n,1)x1x2(x2.^2)];有什么用?在matlab中x=[ones(n,1)x1x2

在matlab中x=[ones(n,1) x1 x2 (x2.^2)]; 有什么用?
在matlab中x=[ones(n,1) x1 x2 (x2.^2)]; 有什么用?

在matlab中x=[ones(n,1) x1 x2 (x2.^2)]; 有什么用?
把x1,x2,x2^2连起来的.就是产生一个n行,4列 的矩阵.具体要看x1,x2的形状了,