-
1 Comment
Saad
on 24 Apr 2020
Please, this code is working on Matlab but it did not work here , I think no problem with it
if size(x,2)==size(y,1)
z=x*y;
else
z = ['The inner dimensions are ', num2str(size(x,2)) ,' and ' ,num2str(size(y,1)), ' Matrix multiplication is not possible'];
end
display(z)
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!