it is not easy to reduce the scale of code like this. something in this solution is quite inspiring. THX.
Extract leading non-zero digit
1213 Solvers
495 Solvers
Create an n-by-n null matrix and fill with ones certain positions
278 Solvers
207 Solvers
1128 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!