this is the code we tried .But we are not getting appropriate output
clc;clear all;m=5;n=4;k=3;x=2*randint(n,1)-1;p=rand(m,n,k);y(m,1,k)=p(m,n,k).*x(n,1);
matrix multiplication
clc;clear all;m=5;n=4;k=3;x=2*randint(n,1)-1;p=rand(m,n,k);y(m,1,k)=p(m,n,k).*x(n,1);
Best Answer