help me please if you have know how about x=[x1(:,:) x1(:,:)] ? what is doing it?

 Accepted Answer

Andrei Bobrov
Andrei Bobrov on 2 Jun 2016
>> x1 =[ 1 2
3 4];
x = [x1(:,:), x1(:,:)]
x =
1 2 1 2
3 4 3 4

1 Comment

Gebreabzgi Pawlos
Gebreabzgi Pawlos on 2 Jun 2016
thank you Andrei Bobrov i got your idea but since i am new to matlab i am not clear if it is specified with specified with specific points like X1 = [X1(:,P/2+1:P) X1(:,1:P/2)] if u can try to explain with example

Sign in to comment.

More Answers (0)

Categories

Find more on Language Fundamentals in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!