Guest User

Untitled

a guest
Jan 23rd, 2018
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MatLab 0.28 KB | None | 0 0
  1. delete g060x32.txt; diary g060x32.txt
  2. clear; clc; close all; echo on;
  3.  
  4. R=input('Put in what you want for R  ');
  5. C=input('Put in what you want for C  ');
  6. w = logspace(-2,7);
  7.  
  8. semilogx(w,lowpass(R,C,w))
  9. xlabel('Frequency (rad/s)')
  10. ylabel('Voltage Ratio')
  11. echo off; diary off;
Add Comment
Please, Sign In to add comment