Consider X = '0' and Y = '0'....then your output will be "1×0 empty char array", instead of Z = '0'. :)
ok respect :!!!!
1766 Solvers
How to find the position of an element in a vector without using the find function
2488 Solvers
342 Solvers
423 Solvers
348 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!