what's best proceed iterate by columns matrix?


i wish ask duty columns settlement matlab. example, i'd means well-spoken each buttress matrix, instead carrying well-spoken provide settlement matrix (which default intrepidity smooth(matrix)).



i'm certain there contingency some-more vernacular proceed this, nonetheless i can't it, i've tangible map_column function:



function outcome = map_column(m, func)
outcome = m;
col = 1:size(m,2)
result(:,col) = func(m(:,col));
end
end


which i with:



smoothed = map_column(input, @(c) (smooth(c, 9)));


is there anything wrong code? i provoke it?



Comments

Popular posts from this blog

list macos calm editors formula editors

how hibernate @any-related annotations?

why does floated <input> control floated component slip over too distant right ie7, nonetheless firefox?