Mostrar comentarios más antiguos
x=[1;4;5;6; 8; 9];
A=rand(6,6);
D1=[x A];
y=(1:10)';
B=rand(10,6);
D2=[y B];
I want to get matrix D3 which is equal to a horzcat of D1 and D2 such that D3 is of dimension 10x14 by matching x with y such that elements of x which are not in y will have nan in the row of D3 thanks for any help
Respuestas (1)
Categorías
Más información sobre Interpolation of 2-D Selections in 3-D Grids en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!