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

 채택된 답변

Honglei Chen
Honglei Chen 2012년 3월 21일

0 개 추천

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에 대해 자세히 알아보기

질문:

2012년 3월 21일

Community Treasure Hunt

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

Start Hunting!

Translated by