Problem 3076. Create a vector
Solution Stats
Problem Comments
-
3 Comments
goc3
on 10 Mar 2015
Function names cannot begin with a number. Also, this is an extremely simple problem that has been posted many times. Please put more thought into problems before posting them.
Ned Gulley
on 11 Mar 2015
I changed the problem slightly and added some more test cases.
HARSH RAITHATHA
on 9 Nov 2020
Leading size is 0 !!!!!!!!!!!!
Solution Comments
-
1 Comment
Yijie Chen
on 12 Jul 2022 at 14:33
ez
-
2 Comments
Josh Klueber
on 11 Nov 2021
simple
Isabella Stellitano
on 13 Nov 2021
good problem
-
1 Comment
建国 田
on 26 Oct 2021
it's very easy
-
1 Comment
john perkins
on 4 May 2021
nice
-
1 Comment
Anuj Kumar
on 3 Jan 2021
leading solution is zero ,what does this mean?
-
1 Comment
Piero Cimule
on 20 Jun 2020
y=[0:2:n]
Problem Recent Solvers5469
Suggested Problems
-
Find all elements less than 0 or greater than 10 and replace them with NaN
14309 Solvers
-
2970 Solvers
-
Flip the main diagonal of a matrix
595 Solvers
-
Rounding off numbers to n decimals
2429 Solvers
-
442 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!