Consider X = '0' and Y = '0'....then your output will be "1×0 empty char array", instead of Z = '0'. :)
ok respect :!!!!
Program an exclusive OR operation with logical operators
639 Solvers
284 Solvers
516 Solvers
Create a matrix X, where each column is a shifted copy of the vector v
142 Solvers
Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
297 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!