MATLAB: Replace an array with another array

array

hi all,
I have an array A with dimensions 48×1 and i want to replace the elements 32:41 with another array B (10×1).
how can I do that?
thanks

Best Answer

A(32:41) = B