

The Bode plot or diagram of a transfer function can be constructed by combining the transfer functions of following elementary factors. In bode-plot, low-frequency asymptote (that is ω>1/T) cut off at 0 decibels (dB) line where ω=1/T, that is the frequency called corner frequency or break point. A third advantage results from the introduction of logarithms, thus reducing the process of multiplying two transfer functions to addition.A second advantage is that this technique is feasible for lower frequencies, where measuring the phase difference between input and output signals is difficult.One apparent advantage of the bode diagram is the relative ease with which it is obtained.At times, the magnitude of a transfer function is referred to as gain and the corresponding plot as a gain plot. N = ceil((qs-qp) / 2 / log10(WsT / WpT)) ī = real(prod(skT.The magnitude of the transfer function is expressed in decibels (dB), the phase in degrees and the common parameter of frequency is plotted on a logarithmic scale in radians. %// fstop (in Hz), dp (in dB) and ds (in dB). %// designed to match the analog parameters fpass (in Hz), %// of the resulting analog-equivalent filter that has been %// BUTTDES(fpass, fstop, dp, ds, fs) designs and plots the bode plot %// Design a discrete-time Butterworth filter Any help is much appreciated!! Here is my code so far : function buttdes(fpass, fstop, dp, ds, fs) A sample input that I have been using would be something like this buttdes(1000, 2500, -3, -20, 20000). I've tried using Matlab's bode function to no avail. When I do my axis are always way out of scale. I have my pole and zero plot figured out just fine but can't seem to get my frequency response plotted correctly. I am trying to plot the frequency response of my sequence when filtered by a butterworth, low-pass filter.
