view arrows/set_subcell.m @ 61:eff6bddf82e3 tip

Finally implemented perceptual brightness thing.
author samer
date Sun, 11 Oct 2015 10:20:42 +0100
parents 672052bd81f8
children
line wrap: on
line source
% set_subcell - replace subnode of cell based tree structure
function A=set_subcell(A,Path,Val)
	if isempty(Path), A=Val;
	else
		A{Path(1)} = set_subcell(A{Path(1)},Path(2:end),Val);
	end
end