Guest User

Untitled

a guest
Jan 23rd, 2018
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MatLab 0.35 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.  
  6. C=input('Put in what you want for C  ');
  7.  
  8. syms w;
  9.  
  10. f=1/sqrt(1+(w*R*C)^2);
  11.  
  12. ezplot(f,[10^-2,10^6]);
  13.  
  14. set(gca, 'XScale', 'log');
  15.  
  16. xlabel('Frequency (rad/s)')
  17.  
  18. ylabel('Voltage Ratio')
  19.  
  20.  
  21. title('stuff')
  22.  
  23. echo off; diary off;
Add Comment
Please, Sign In to add comment