EECS 360 MATLAB Function M-files

EECS 360 MATLAB Function M-files

This page contains general-purpose MATLAB function M-files that are used in the Carlson text. You can copy these and use them to aid in studying, doing homework, etc.
  • PLCT.M, plots CT signals
  • PLDT.M, plots DT signals
  • STEMM.M, modified version of MATLAB's STEM.M
  • PZPL.M, generates pole/zero plot
  • SLBODE.M, generates straight-line Bode plot

  • US.M, generates unit step function u(t)
  • UR.M, generates unit ramp function r(t)

  • CTFS.M, computes CT Fourier series approximation
  • CTFSC.M, computes Fourier series coefficients of CT signals
  • CTFT.M, computes Fourier transform of CT signals
  • CTIFT.M, computes inverse Fourier transform for CT signals

  • DTFS.M, computes DT Fourier series approximation
  • DTFSC.M, computes Fourier series coefficients of DT signals
  • DTFT.M, computes Fourier transform of DT signals
  • DTIFT.M, computes inverse Fourier transform for DT signals

  • SYSDAT.M, computes various quantities for transfer function or frequency response
  • ABCORD.M, chooses Lowpass filter order given spec