It needs more test cases. It is not clear what the output should be for all possible x.
Back to basics 8 - Matrix Diagonals
783 Solvers
620 Solvers
436 Solvers
293 Solvers
Matlab Basics - Absolute Value
360 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!