登录论坛

查看完整版本 : 如何使用向量k = [8 9 6 5 4 3]创建矩阵


poster
2019-12-10, 20:48
如何创建以下矩阵?

[0 0 0 8 0 0 9 8 0 6 9 8 5 6 9 4 5 6]

回答:

toeplitz (http://www.mathworks.com/access/helpdesk/help/techdoc/ref/toeplitz.html)函数呢?

c=[0 8 9 6 5 4 3] r=[0 0 0] t=toeplitz(c,r) (免责声明:未经测试!)

T应该是:

0 0 0 8 0 0 9 8 0 6 9 8 5 6 9 4 5 6 3 4 5

更多&回答... (https://stackoverflow.com/questions/3379675)