I want to apply a transfer function to each element of a 15x42 matrix in simulink. Is there an nice way to do it? My best idea so far is to us a cascade of subsystems, dividing the matrix in smaller pieces and eventually have a few tranfer function blocks in parallel. I think there must be a more elegant way of doing this...
Context: I want to perform temporal filtering on an image sequence using the following transfer function on each separate pixel: (a s + b)/(c s + 1) where a=0.04, b=0.1 and c = 0.04 are constants and s is the laplace parameter
a, s,b,c
are? and have you looked asbsxfun()
? – The Minion