Consider X = '0' and Y = '0'....then your output will be "1×0 empty char array", instead of Z = '0'. :)
ok respect :!!!!
Find the two most distant points
1628 Solvers
Matrix indexing with two vectors of indices
485 Solvers
746 Solvers
Circular Primes (based on Project Euler, problem 35)
140 Solvers
Create a two dimensional zero matrix
354 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!