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.
good one
What matlab functions are useful for this ? (I did it with a loop)
fun one
B=[]
for i=1:length(A)
for j=1:2
B(end+1)=A(i);
end
end
@ivan lyss Could you help me How solved this problam
Please, I need your help to solve this problem, ChanXy.
function B = your_fcn_name(A)
B=repelem(A,2);
end
A=A'
r=repmat(A,1,2)'
B=r(:)'
1091 Solvers
15302 Solvers
How many trades represent all the profit?
520 Solvers
277 Solvers
2636 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!