Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

doubts regarding matlab programming

Status
Not open for further replies.

M.Shobana

Member level 1
Joined
Sep 13, 2011
Messages
35
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,505
hai friends..
I want to merge two vectors like in the below specified manner
for example:
a= [1 2]; b = [3 4]
then 'c' should be like this c = [1 3 2 4 ]
i tried like this c = [a,b] but this is not working
if anybody knows please help me
 

So simple...
c = [a(1) b(1) a(2) b(2)]
 

Maybe you can try asking <http://www.mathworks.com/matlabcentral/answers/>
here for all Matlab queries
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top