-
1 Comment
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)
Suggested Problems
1962 Solvers
Back to basics 21 - Matrix replicating
1182 Solvers
Determine Whether an array is empty
693 Solvers
302 Solvers
Sum of odd numbers in a matrix
397 Solvers
More from this Author13
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!