I really don't see the point of that kind of problems where you can't use Matlab built-in functions.
which functions?
493 Solvers
521 Solvers
Back to basics 6 - Column Vector
912 Solvers
370 Solvers
525 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!