Consider X = '0' and Y = '0'....then your output will be "1×0 empty char array", instead of Z = '0'. :)
ok respect :!!!!
496 Solvers
221 Solvers
Back to basics 23 - Triangular matrix
638 Solvers
587 Solvers
Is this triangle right-angled?
2544 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!