MATLAB爱好者论坛-LabFans.com

MATLAB爱好者论坛-LabFans.com (https://www.labfans.com/bbs/index.php)
-   资料存档 (https://www.labfans.com/bbs/forumdisplay.php?f=72)
-   -   如何使用向量k = [8 9 6 5 4 3]创建矩阵 (https://www.labfans.com/bbs/showthread.php?t=23747)

poster 2019-12-10 20:48

如何使用向量k = [8 9 6 5 4 3]创建矩阵
 
如何创建以下矩阵?

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

[B]回答:[/B]

[URL="http://www.mathworks.com/access/helpdesk/help/techdoc/ref/toeplitz.html"]toeplitz[/URL]函数呢?

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

[url=https://stackoverflow.com/questions/3379675]更多&回答...[/url]


所有时间均为北京时间。现在的时间是 01:03

Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.