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(:)'
386 Solvers
260 Solvers
Try 1.5.4: Celsius to Fahrenheit
609 Solvers
445 Solvers
270 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!