cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. X

Question (linear indexing and more)

ptc-4262361
1-Newbie

Question (linear indexing and more)

I am trying to combine tow vectors such than if we have a={a1,a2,a3,a4} and b={b1,b2,b3,b4} .... I want to get c={a1,b1,NaN,a2,b2,NaN,a3,b3,NaN,a4,b4,NaN}.

I have attached a file of what I have done but it's not working.

1 ACCEPTED SOLUTION

Accepted Solutions

One method attached.

Alan

View solution in original post

1 REPLY 1

One method attached.

Alan

Top Tags