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(:)'
Arrange Vector in descending order
4085 Solvers
Remove the two elements next to NaN value
411 Solvers
Celsius to Fahrenheit converter
389 Solvers
302 Solvers
Find out sum and carry of Binary adder
381 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!