In matlab I have two different matrices.
The one is for example
A =[34.5, 35.8, 24.5, 32.3;
23.4, 33.1, 31.2, 14.6];
And the second is:
B =[34.5, 32.3; 36.7
23.4, 14.6, 65.1];
I want to get a new one containing only the same values per column,
e.g. C =[34.5, 32.3;
23.4, 14.6];
Matrices A and B do not have the same number of columns.
Is there any matlab's function or can you help me to resolve this?