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
-
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 Solvers5187
Suggested Problems
-
Project Euler: Problem 8, Find largest product in a large string of numbers
717 Solvers
-
Convert a vector into a number
545 Solvers
-
Replace multiples of 5 with NaN
385 Solvers
-
Sum of odd numbers in a matrix
398 Solvers
-
Find out sum and carry of Binary adder
820 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!