Let's say you have a matrix a=[ 1 3 5 7 9 11] and b = [ 2 4 6 8 10]. How would you go about merging the two matricies so that every value of b goes in between the values of a? So the result would look like c = [ 1 2 3 4 5 6 7 8 9 10 11]. These can be any number, not specific to even/odd.
MATLAB: How to Add Values from One Matrix in between the values of another
doublematricesmatrixmergingsorting
Related Question
- How to creat two box plot in one graph use different data
- Is it possible to extract the values with a vector of indices for each row without using the for statement from the matrix
- How to calculate the change in columns of one table and display it in another
- Create a new array from an intersection of two previous arrays
- To equate one value to another
- How to Permute the array with specific number
Best Answer