Problem 45495. Number of o rderd pairs of integers (I,J) that can be formed.
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 commentsProblem Recent Solvers34
Suggested Problems
-
Duplicate each element of a vector.
619 Solvers
-
We love vectorized solutions. Problem 1 : remove the row average.
841 Solvers
-
Back to Basics - Find no. of elements in a matrix?
314 Solvers
-
Convert from Fahrenheit to Celsius
25520 Solvers
-
8580 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!