www.omatrix.com





:: O-Matrix ::
> Overview
> Examples
> Performance
> Analysis Functions
> Data Visualization
> The O-Matrix Language
> Data Manipulation/IO
> Application Development
> Using Matlab m-files




FN2CLPX.OMS

Script File:
# Description:
# Converts a normalized filter to a continuous lowpass filter.
#
clear
# compute the normalized filter
npole = 4
num_n = novalue
den_n = novalue
fnbut(npole, num_n, den_n)
#
# convert to a continuous lowpass filter
cutoff = 2d0
num_lp = novalue
den_lp = novalue
fn2clp(cutoff, num_n, den_n, num_lp, den_lp)
#
# plot the lowpass filter
xmin = 1e-1
xmax = 1e+2
ymin = 1e-4
ymax = 1e+2
fcplot(xmin, xmax, ymin, ymax, cutoff, num_lp, den_lp)
gtitle("Lowpass Butterworth Filter")
	  

Output:


Company |  Products |  Showcase |  Support |  Ordering
Copyright© 1994-2009 Harmonic Software Inc. - All rights reserved.