MATLAB Answers

0

shaping matrix w.r.t. the array

Asked by sermet on 5 Dec 2016
Latest activity Answered by Guillaume
on 5 Dec 2016
for example
Cyy=[0.1;0.2;0.3;0.4;0.5]; %array
how can I create Q matrix w.r.t the Cyy array as follows;
Q=[Cyy(1) Cyy(2) Cyy(3) Cyy(4) Cyy(5);Cyy(2) Cyy(1) Cyy(2) Cyy(3) Cyy(4) Cyy(5);Cyy(3) Cyy(2) Cyy(1) Cyy(2) Cyy(3);Cyy(4) Cyy(3) Cyy(2) Cyy(1) Cyy(2);Cyy(5) Cyy(4) Cyy(3) Cyy(2) Cyy(1)];

  0 Comments

Sign in to comment.

1 Answer

Guillaume
Answer by Guillaume
on 5 Dec 2016
 Accepted Answer

fliplr(hankel(flip(Cyy), Cyy))

  0 Comments

Sign in to comment.