If n = 7, your program should return a vector y, where y = [1 2 3 4 5 6 7].
Solution Stats
Solution Comments
Show comments
Loading...
Problem Recent Solvers142
Suggested Problems
-
Sum all integers from 1 to 2^n
18304 Solvers
-
Project Euler: Problem 10, Sum of Primes
2136 Solvers
-
Find out total non zero element of matrix
288 Solvers
-
Find Out sum of principal diagonal element of given matrix
259 Solvers
-
Select every other element of a vector (★★)
113 Solvers
More from this Author52
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!