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 Solvers5462
Suggested Problems
-
Given a window, how many subsets of a vector sum positive
818 Solvers
-
593 Solvers
-
Switch matrix to a column vector
303 Solvers
-
Sum the 'edge' values of a matrix
289 Solvers
-
What is Sum Of all elements of Matrix
343 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!