Matrix compersion for different value of coloum
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
as a exmple i have two Matrix with diffrent size of coloums:
- 1*1980
- 1*2201
how can i compare both matrix with slicing command or any other command and then can i take mean value from both matrix. that's why i need both coloum value similar in matrix.
0 comentarios
Respuestas (2)
Walter Roberson
el 12 de Feb. de 2021
Perhaps something like:
shorter_size = min(numel(First), numel(Second));
meanFirst = mean(First(1:shorter_size));
meanSecond = mean(Second(1:shorter_size));
0 comentarios
Ver también
Categorías
Más información sobre Interpolation en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!