Did anybody understand what the author wants to be done?
I guess most of the users would have just looked at the test cases and solved the question.
Sum all integers from 1 to 2^n
8687 Solvers
Find the sum of the elements in the "second" diagonal
999 Solvers
"Low : High - Low : High - Turn around " -- Create a subindices vector
325 Solvers
187 Solvers
Area of an equilateral triangle
2925 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!