Guest User

Untitled

a guest
Jan 23rd, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MatLab 0.32 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. syms w;
  7. f=1/(sqrt(1+((R*C*w)^2)));
  8. ezplot(f,[10^-2,10^7]);
  9. set(gca, 'XScale', 'log');
  10. xlabel('Frequency (rad/s)')
  11. ylabel('Voltage Ratio')
  12. echo off; diary off;
Add Comment
Please, Sign In to add comment