similar to Problem 412. Back to basics 22 - Rotate a matrix
Their is a command for this already built in. rot90(x)
Extract leading non-zero digit
1205 Solvers
267 Solvers
Getting the indices from a vector
3206 Solvers
365 Solvers
Switch matrix to a column vector
260 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!