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

 Respuesta aceptada

Honglei Chen
Honglei Chen el 21 de Mzo. de 2012

0 votos

h1 = h1';

1 comentario

Janet
Janet el 21 de Mzo. de 2012
thank you so much...i was searching for syntax for this in matlab help

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Get Started with MATLAB en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 21 de Mzo. de 2012

Community Treasure Hunt

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

Start Hunting!

Translated by