Problem 1024. Doubling elements in a vector
Solution Stats
Problem Comments
-
6 Comments
Show
3 older comments
srisai vangara
on 29 Apr 2020
Really found a lot of trouble to find the solution.
But could not find how someone could solve it just using a size of 7.
Sivaramarao B
on 7 Jun 2020
good one
Kaiz Merchant
on 4 Aug 2020
What matlab functions are useful for this ? (I did it with a loop)
Michael Green
on 8 Feb 2021
Good problem if you don't use repelem
Javid Moraveji
on 4 Jun 2022
I think the test should also check for column vectors and any vector with special variables Inf and NaN
Mostafa
on 30 Dec 2022
Nice problem without using kron function
Solution Comments
Show commentsProblem Recent Solvers6540
Suggested Problems
-
4184 Solvers
-
Get the length of a given vector
8532 Solvers
-
Find nearest prime number less than input number
585 Solvers
-
392 Solvers
-
587 Solvers
More from this Author2
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!