Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- delete g060x32.txt; diary g060x32.txt
- clear; clc; close all; echo on;
- R=input('Put in what you want for R ');
- C=input('Put in what you want for C ');
- syms w;
- f=1/sqrt(1+(w*R*C)^2);
- ezplot(f,[10^-2,10^6]);
- set(gca, 'XScale', 'log');
- axis([10^-2,10^6,0,2]);
- xlabel('Frequency (rad/s)');
- ylabel('Voltage Ratio');
- title('stuff');
- echo off; diary off;
Add Comment
Please, Sign In to add comment