Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR MATLAB

alternative from two vectors matlab

A=[1; 0; 3; 4 ;6 ;0]; 
B=[5; 6; 7 ;0 ;4];
C=cat(1,A,B);
C([1:2:end,2:2:end])=C
Source by www.mathworks.com #
 
PREVIOUS NEXT
Tagged: #alternative #vectors #matlab
ADD COMMENT
Topic
Name
1+5 =