% CT_plot_example.m % EE 313 Signals and Systems % Dr. Thomas P. Montoya clear; clc; close all % wipe the slate clean w = 500; T = 2*pi/w; % Define radian frequency & period of a sinusoid t = 0:T/25:3*T; % Define time vector v=170*sin(w*t+pi/3); % Define voltage vector plot(t,v,'r-','linewidth',2) axis([0 3*T -200 200]), % Manually set horiz. & vertical axis scales ylabel('v({\itt}) (V)','fontsize',14,'fontname','Times'), xlabel('{\itt} (s)','fontsize',14,'fontname','Times'), title('Continuous Time Plot','fontsize',16,'fontname','Times'), grid; set(findobj('type','line'),'linewidth',1.5,'markersize',18) set(findobj('type','axes'),'fontname','times','fontsize',12,'linewidth',2)