Consider X = '0' and Y = '0'....then your output will be "1×0 empty char array", instead of Z = '0'. :)
ok respect :!!!!
1800 Solvers
Project Euler: Problem 1, Multiples of 3 and 5
1493 Solvers
Make a run-length companion vector
512 Solvers
238 Solvers
2339 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!