Consider X = '0' and Y = '0'....then your output will be "1×0 empty char array", instead of Z = '0'. :)
ok respect :!!!!
1609 Solvers
Find state names that end with the letter A
717 Solvers
Check to see if a Sudoku Puzzle is Solved
282 Solvers
Are all the three given point in the same line?
274 Solvers
370 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!