medanisse
Newbie level 6
Hello,
Can you give me an instruction with matlab which allows me to resize a matrix, keep only the odd or even elements of the matrix
Example
transform the matrix a =[1 2 3 4 5 6 7 8 9 10]
to a =[2 4 6 8 10]
Can you give me an instruction with matlab which allows me to resize a matrix, keep only the odd or even elements of the matrix
Example
transform the matrix a =[1 2 3 4 5 6 7 8 9 10]
to a =[2 4 6 8 10]