syntax help

temp=randsrc(1,2);
temp=[temp zeros(1,4)];
temp1=transpose(temp);
temp1 =
1
-1
0
0
0
0
I want to create circulant matrix with temp1 as first column... I have a circulant matrix with temp1 as first row :
h1=gallery('circul',temp1)
But I need it to be first column, Pls help me with it

 采纳的回答

h1 = h1';

1 个评论

Janet
Janet 2012-3-21
thank you so much...i was searching for syntax for this in matlab help

请先登录,再进行评论。

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 Get Started with MATLAB 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by