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 Solvers36
Suggested Problems
-
Which values occur exactly three times?
5245 Solvers
-
Back to basics 22 - Rotate a matrix
937 Solvers
-
Generate a vector like 1,2,2,3,3,3,4,4,4,4
13987 Solvers
-
477 Solvers
-
Matlab Basics II - Count rows in a matrix
406 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!