Problem 42651. Vector creation
Solution Stats
Problem Comments
-
2 Comments
Eduardo Facusse
on 15 Dec 2020
Easy
Javid Moraveji
on 4 Jun 2022
Is this just about natural number? Otherwise the tests should include negative integer numbers.
Solution Comments
-
1 Comment
George
on 26 Jan 2023
If I'm not mistaken you don't need to use square brackets ([]). The colon operator (:) should be enough. So the solution is y = 1:x
-
1 Comment
Jessica Portman
on 12 Apr 2022
super easy
-
1 Comment
Haoran Tian
on 28 Nov 2021
easy
-
2 Comments
Josh Klueber
on 11 Nov 2021
simple
Isabella Stellitano
on 13 Nov 2021
good problem
-
1 Comment
Cory Cunningham
on 11 Dec 2020
pretty easy
-
2 Comments
Arif Istiak Abeg
on 6 May 2020
easy
Christian Cordova
on 12 Mar 2022
easy one
Problem Recent Solvers6485
Suggested Problems
-
1279 Solvers
-
1250 Solvers
-
525 Solvers
-
748 Solvers
-
Find x rows where the sum of the numbers is the maximum
327 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!