computational cost of a filter in MATLAB !!!

Thread Starter

tesnime

Joined May 23, 2015
5
Hey everybody,
does anyone know how to determine the computational cost of a filter in MATLAB (For example a Butterworth and a Notch Filter) ?
That would be the No. of add and mult operations per sample and the memory usage.

WOuld be grateful for your help!
 

WBahn

Joined Mar 31, 2012
24,674
That depends heavily on the platform you are running on and how you write your code. Matlab is highly optimized to take vectorized equations and exploit instruction level parallelism, such as available SIMD instructions, on the host platform.
 
Top