Write a MATLAB function that calculates the number of ordered pairs of integers (I, J) that can be formed satisfying the condition 1<=I<=J<=N, for a given value of N.
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers37
Suggested Problems
-
Select every other element of a vector
37301 Solvers
-
Project Euler: Problem 1, Multiples of 3 and 5
3737 Solvers
-
558 Solvers
-
454 Solvers
-
Replace every 3rd element in a vector with 4
268 Solvers
More from this Author2
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!