I've got code:
array_double = randi (3,3)cell_array_fuction_handles ={@(x)x*2 @(x)x*4 @(x)x*6};for k = 1:length (array_double)array_double(k,:) = arrayfun (cell_array_fuction_handles{k}, array_double(k,:));endarray_double
Is there any way to replace for-loop with a vector function?
Thanks!
Best Answer