computational cost of a filter in MATLAB !!!

Discussion in 'Programmer's Corner' started by tesnime, Jun 23, 2015.

  1. tesnime

    Thread Starter New Member

    May 23, 2015
    5
    0
    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!
     
  2. WBahn

    Moderator

    Mar 31, 2012
    17,743
    4,792
    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.
     
Loading...