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
-
Find the two most distant points
2960 Solvers
-
289 Solvers
-
Compute a dot product of two vectors x and y
1057 Solvers
-
Remove the two elements next to NaN value
714 Solvers
-
Change the first and last diagonal element of the identity matrix to zero
161 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!