Plot - p title('I - V Characteristic') xlabel('Voltage(V)')

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
clear; clc; c Vx=5; R1=5; dt=0.001; t1=-10:dt:0; t2=0:dt:10; i1=Vx/R1*t1; i2=0; i figure(1); f p=plot(t1, i1,'b'); p p=plot(t2, i2,'b');
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: p title('I - V Characteristic') xlabel('Voltage(V)') ylabel('Current(A)') axis([-5.5,5.5,-5,5]); grid...
View Full Document

This note was uploaded on 04/05/2010 for the course EE EE taught by Professor Ee during the Spring '10 term at Korea Advanced Institute of Science and Technology.

Ask a homework question - tutors are online