
Import["lectureSpicePrint.m"];
data = lectureSpicePrint["export-1.txt"];
freq = data["frequency"];
vdb2 = data["vdb(2)"];
vp2 = data["vp(2)"];
            
ListLogLinearPlot[Transpose[{freq,vdb2}],Joined->True,AxesLabel->{"f (Hz)","GdB"}]
ListLogLinearPlot[Transpose[{freq,vp2}],Joined->True,AxesLabel->{"phi (rad)","GdB"}]

data = lectureSpicePrint["export-2.txt"];
t = data["time"]*1000
v2 = data["v(2)"]
            
ListPlot[Transpose[{t,v2}],Joined->True,AxesLabel->{"t (ms)","v(2)"}]
