How to enter intermittent entries in a vector
3 views (last 30 days)
Hi, I need a bit of your help please. Consider I have a vector A = [a1 a2 a3 a4], and another vector B=zeros(2*length(A)). I want to put the entries of A into B as follows:
B = [a1 a2 0 0 a3 a4 0 0]. Intermittent entries. I hope I am able to convey clearly the requirement. Awaiting the kind response.