view dsp/specfilt.m @ 58:ba866ae124c6

Now accepts single color index for all points.
author samer
date Fri, 09 Oct 2015 13:01:37 +0100
parents c3b0cd708782
children
line wrap: on
line source
% specfilt
function Y=specfilt(X,S,varargin)
	args=varargin;
	Y=zipwith(@specfiltf,S,X);

	function Y=specfiltf(x,s), 
		Y=unbuffer(ipowspec(s,phasespec(x)),args{:}); end
	end
end