MATLAB: 3D Array Multiplication with 2D Matrix 2d3darray multiplication Hi, I have a 3D array of lets say 500:10:32 elements. I want to multiple the first dimension of lthis array with another 1:500 matrix. How would I do this? Regards Best Answer data1=rand(500,10,32);% 3D Arraydata2=rand(1,500); %1x500 mat result=data1(1:500,1,1)*data2; %Multiplication Related SolutionsMATLAB: Reshape 3d to 2d array squeeze()transpose() MATLAB: Plotting array elements in different colors x=1:1500;y=rand(1,1500);plot(x(1:500),y(1:500),'r')hold onplot(x(501:1000),y(501:1000),'b')plot(x(1001:1500),y(1001:1500),'k')hold off Related QuestionComment je peux créer une matrice triangulaire inférieure remplit par 1 de très grande dimensionHow convert 3d matrix to 2d matrixConvert 3D matrix to 2D matrix.Multiply an array of scalars by a 3D matrixHow do i create a 3d matrix
Best Answer