In: Electrical Engineering
please Use Matlab to plot simulated results and to plot and conduct the mathematical analysis of the data below:
note: I only need these things
1- simulate the RC filter in the frequency domain in order to obtain magnitude and phase response plots.
2-obtain the transient response plots of the capacitor voltage and the current as functions of time.
Channel 2 Data
Time Scale: 0.002 seconds/div
Voltage Scale: 2.0 volts/div
Waveform Data: 500 points
Time Voltage
---------------------
-0.01 2.68675
-0.00996 -2.62425
-0.00992 -2.74925
-0.00988 -2.62425
-0.00984 -2.62425
-0.0098 -2.68675
-0.00976 -2.62425
-0.00972 -2.68675
-0.00968 -2.62425
-0.00964 -2.74925
-0.0096 -2.62425
-0.009559999999999999 -2.74925
-0.009519999999999999 -2.68675
-0.009479999999999999 -2.68675
-0.009439999999999999 -2.68675
-0.009399999999999999 -2.68675
-0.009359999999999999 -2.62425
-0.009319999999999998 -2.68675
-0.009279999999999998 -2.68675
-0.009239999999999998 -2.62425
-0.009199999999999998 -2.68675
-0.009159999999999998 -2.68675
-0.009119999999999998 -2.62425
-0.009079999999999998 -2.68675
-0.009039999999999998 -2.68675
-0.008999999999999998 -2.62425
-0.008959999999999997 -2.62425
-0.008919999999999997 -2.62425
-0.008879999999999997 -2.68675
-0.008839999999999997 -2.68675
-0.008799999999999997 -2.62425
-0.008759999999999997 -2.68675
-0.008719999999999997 -2.62425
-0.008679999999999997 -2.68675
-0.008639999999999997 -2.62425
-0.008599999999999997 -2.68675
-0.008559999999999996 -2.62425
-0.008519999999999996 -2.62425
-0.008479999999999996 -2.62425
-0.008439999999999996 -2.68675
-0.008399999999999996 -2.62425
-0.008359999999999996 -2.62425
-0.008319999999999996 -2.62425
-0.008279999999999996 -2.56175
-0.008239999999999996 -2.62425
-0.008199999999999995 -2.56175
-0.008159999999999995 -2.62425
-0.008119999999999995 -2.62425
-0.008079999999999995 -2.62425
-0.008039999999999995 -2.56175
-0.007999999999999995 -2.62425
-0.007959999999999995 -2.62425
-0.007919999999999995 -2.62425
-0.007879999999999995 -2.62425
-0.007839999999999995 -2.49925
-0.0077999999999999944 -2.62425
-0.007759999999999994 -2.56175
-0.007719999999999994 -2.56175
-0.007679999999999994 -2.56175
-0.007639999999999994 -2.56175
-0.007599999999999994 -2.43675
-0.007559999999999994 -2.06175
-0.007519999999999994 -1.74925
-0.007479999999999994 -1.43675
-0.0074399999999999935 -1.12425
-0.007399999999999993 -0.93675
-0.007359999999999993 -0.68675
-0.007319999999999993 -0.43675
-0.007279999999999993 -0.24925
-0.007239999999999993 -0.12425
-0.007199999999999993 0.12575
-0.007159999999999993 0.43825
-0.007119999999999993 0.50075
-0.0070799999999999925 0.62575
-0.0070399999999999924 0.75075
-0.006999999999999992 0.87575
-0.006959999999999992 1.00075
-0.006919999999999992 1.06325
-0.006879999999999992 1.18825
-0.006839999999999992 1.25075
-0.006799999999999992 1.37575
-0.006759999999999992 1.43825
-0.006719999999999992 1.50075
-0.0066799999999999915 1.50075
-0.006639999999999991 1.62575
-0.006599999999999991 1.68825
-0.006559999999999991 1.81325
-0.006519999999999991 1.87575
-0.006479999999999991 1.87575
-0.006439999999999991 1.87575
-0.006399999999999991 1.93825
-0.006359999999999991 2.00075
-0.0063199999999999906 1.93825
-0.0062799999999999905 2.00075
-0.00623999999999999 2.00075
-0.00619999999999999 2.06325
-0.00615999999999999 2.12575
-0.00611999999999999 2.12575
-0.00607999999999999 2.00075
-0.00603999999999999 2.18825
-0.00599999999999999 2.12575
-0.00595999999999999 2.12575
-0.0059199999999999895 2.18825
-0.005879999999999989 2.25075
-0.005839999999999989 2.12575
-0.005799999999999989 2.18825
-0.005759999999999989 2.18825
-0.005719999999999989 2.18825
-0.005679999999999989 2.25075
-0.005639999999999989 2.25075
-0.005599999999999989 2.18825
-0.0055599999999999886 2.18825
-0.0055199999999999885 2.31325
-0.005479999999999988 2.25075
-0.005439999999999988 2.31325
-0.005399999999999988 2.25075
-0.005359999999999988 2.25075
-0.005319999999999988 2.25075
-0.005279999999999988 2.25075
-0.005239999999999988 2.25075
-0.005199999999999988 2.25075
-0.0051599999999999875 2.18825
-0.005119999999999987 2.25075
-0.005079999999999987 2.25075
-0.005039999999999987 2.25075
-0.004999999999999987 2.25075
-0.004959999999999987 2.25075
-0.004919999999999987 2.37575
-0.004879999999999987 2.25075
-0.004839999999999987 2.25075
-0.004799999999999987 2.18825
-0.0047599999999999865 2.25075
-0.004719999999999986 2.18825
-0.004679999999999986 2.25075
-0.004639999999999986 2.25075
-0.004599999999999986 2.31325
-0.004559999999999986 2.25075
-0.004519999999999986 2.25075
-0.004479999999999986 2.31325
-0.004439999999999986 2.25075
-0.0043999999999999855 2.18825
-0.004359999999999985 2.18825
-0.004319999999999985 2.25075
-0.004279999999999985 2.25075
-0.004239999999999985 2.18825
-0.004199999999999985 2.31325
-0.004159999999999985 2.25075
-0.004119999999999985 2.25075
-0.004079999999999985 2.18825
-0.004039999999999985 2.25075
-0.0039999999999999845 2.18825
-0.003959999999999984 2.25075
-0.003919999999999984 2.25075
-0.003879999999999984 2.18825
-0.003839999999999984 2.25075
-0.003799999999999984 2.25075
-0.003759999999999984 2.25075
-0.0037199999999999837 2.25075
-0.0036799999999999836 2.25075
-0.0036399999999999835 2.25075
-0.0035999999999999834 2.25075
-0.0035599999999999833 2.18825
-0.003519999999999983 2.18825
-0.003479999999999983 2.18825
-0.003439999999999983 2.18825
-0.003399999999999983 2.25075
-0.003359999999999983 2.18825
-0.0033199999999999827 2.18825
-0.0032799999999999826 2.12575
-0.0032399999999999825 2.18825
-0.0031999999999999824 2.25075
-0.0031599999999999823 2.25075
-0.003119999999999982 2.25075
-0.003079999999999982 2.25075
-0.003039999999999982 2.18825
-0.002999999999999982 2.18825
-0.0029599999999999817 2.18825
-0.0029199999999999816 2.18825
-0.0028799999999999815 2.12575
-0.0028399999999999814 2.18825
-0.0027999999999999813 2.12575
-0.0027599999999999812 2.18825
-0.002719999999999981 2.18825
-0.002679999999999981 2.18825
-0.002639999999999981 2.12575
-0.002599999999999981 2.06325
-0.0025599999999999807 1.87575
-0.0025199999999999806 1.43825
-0.0024799999999999805 1.18825
-0.0024399999999999804 0.87575
-0.0023999999999999803 0.56325
-0.00235999999999998 0.18825
-0.00231999999999998 0.12575
-0.00227999999999998 -0.24925
-0.00223999999999998 -0.31175
-0.0021999999999999797 -0.56175
-0.0021599999999999796 -0.81175
-0.0021199999999999795 -0.81175
-0.0020799999999999794 -1.06175
-0.0020399999999999793 -1.12425
-0.0019999999999999792 -1.31175
-0.001959999999999979 -1.43675
-0.001919999999999979 -1.56175
-0.001879999999999979 -1.56175
-0.0018399999999999788 -1.62425
-0.0017999999999999787 -1.68675
-0.0017599999999999786 -1.87425
-0.0017199999999999785 -1.93675
-0.0016799999999999784 -1.93675
-0.0016399999999999783 -2.06175
-0.0015999999999999782 -2.06175
-0.001559999999999978 -2.12425
-0.001519999999999978 -2.18675
-0.0014799999999999779 -2.18675
-0.0014399999999999778 -2.24925
-0.0013999999999999777 -2.31175
-0.0013599999999999775 -2.37425
-0.0013199999999999774 -2.37425
-0.0012799999999999773 -2.43675
-0.0012399999999999772 -2.37425
-0.0011999999999999771 -2.49925
-0.001159999999999977 -2.49925
-0.001119999999999977 -2.49925
-0.0010799999999999768 -2.43675
-0.0010399999999999767 -2.49925
-9.999999999999766E-4 -2.56175
-9.599999999999766E-4 -2.56175
-9.199999999999766E-4 -2.62425
-8.799999999999766E-4 -2.56175
-8.399999999999766E-4 -2.62425
-7.999999999999766E-4 -2.62425
-7.599999999999766E-4 -2.56175
-7.199999999999766E-4 -2.62425
-6.799999999999766E-4 -2.68675
-6.399999999999766E-4 -2.62425
-5.999999999999766E-4 -2.62425
-5.599999999999766E-4 -2.68675
-5.199999999999766E-4 -2.68675
-4.7999999999997665E-4 -2.62425
-4.3999999999997665E-4 -2.68675
-3.9999999999997665E-4 -2.56175
-3.5999999999997666E-4 -2.62425
-3.1999999999997666E-4 -2.62425
-2.7999999999997667E-4 -2.62425
-2.3999999999997667E-4 -2.68675
-1.9999999999997667E-4 -2.68675
-1.5999999999997668E-4 -2.74925
-1.1999999999997668E-4 -2.68675
-7.999999999997668E-5 -2.62425
-3.999999999997668E-5 -2.68675
2.3323899235594414E-17 -2.68675
4.000000000002333E-5 -2.68675
8.000000000002333E-5 -2.68675
1.2000000000002333E-4 -2.68675
1.6000000000002332E-4 -2.68675
2.0000000000002332E-4 -2.68675
2.4000000000002332E-4 -2.68675
2.8000000000002334E-4 -2.68675
3.2000000000002334E-4 -2.68675
3.6000000000002333E-4 -2.68675
4.0000000000002333E-4 -2.68675
4.400000000000233E-4 -2.68675
4.800000000000233E-4 -2.68675
5.200000000000234E-4 -2.62425
5.600000000000234E-4 -2.62425
6.000000000000234E-4 -2.56175
6.400000000000234E-4 -2.62425
6.800000000000234E-4 -2.68675
7.200000000000234E-4 -2.74925
7.600000000000234E-4 -2.74925
8.000000000000233E-4 -2.68675
8.400000000000233E-4 -2.62425
8.800000000000233E-4 -2.68675
9.200000000000233E-4 -2.68675
9.600000000000233E-4 -2.68675
0.0010000000000000234 -2.68675
0.0010400000000000235 -2.62425
0.0010800000000000236 -2.56175
0.0011200000000000238 -2.62425
0.0011600000000000239 -2.56175
0.001200000000000024 -2.62425
0.001240000000000024 -2.56175
0.0012800000000000242 -2.62425
0.0013200000000000243 -2.68675
0.0013600000000000244 -2.62425
0.0014000000000000245 -2.62425
0.0014400000000000246 -2.62425
0.0014800000000000247 -2.62425
0.0015200000000000248 -2.68675
0.001560000000000025 -2.56175
0.001600000000000025 -2.62425
0.0016400000000000251 -2.56175
0.0016800000000000252 -2.68675
0.0017200000000000253 -2.62425
0.0017600000000000254 -2.62425
0.0018000000000000255 -2.68675
0.0018400000000000256 -2.56175
0.0018800000000000257 -2.62425
0.0019200000000000259 -2.56175
0.001960000000000026 -2.56175
0.002000000000000026 -2.62425
0.002040000000000026 -2.56175
0.0020800000000000263 -2.62425
0.0021200000000000264 -2.62425
0.0021600000000000265 -2.62425
0.0022000000000000266 -2.56175
0.0022400000000000267 -2.62425
0.002280000000000027 -2.62425
0.002320000000000027 -2.56175
0.002360000000000027 -2.62425
0.002400000000000027 -2.62425
0.002440000000000027 -2.06175
0.0024800000000000273 -1.87425
0.0025200000000000274 -1.49925
0.0025600000000000275 -1.12425
0.0026000000000000276 -0.81175
0.0026400000000000277 -0.56175
0.002680000000000028 -0.43675
0.002720000000000028 -0.18675
0.002760000000000028 -0.0617499
0.002800000000000028 0.12575
0.0028400000000000283 0.37575
0.0028800000000000284 0.43825
0.0029200000000000285 0.68825
0.0029600000000000286 0.68825
0.0030000000000000287 0.87575
0.003040000000000029 1.00075
0.003080000000000029 1.12575
0.003120000000000029 1.18825
0.003160000000000029 1.25075
0.003200000000000029 1.37575
0.0032400000000000293 1.43825
0.0032800000000000294 1.50075
0.0033200000000000295 1.62575
0.0033600000000000296 1.62575
0.0034000000000000297 1.62575
0.00344000000000003 1.75075
0.00348000000000003 1.81325
0.00352000000000003 1.81325
0.00356000000000003 1.87575
0.0036000000000000303 1.87575
0.0036400000000000304 1.87575
0.0036800000000000305 1.93825
0.0037200000000000306 2.06325
0.0037600000000000307 2.06325
0.003800000000000031 2.06325
0.003840000000000031 2.12575
0.003880000000000031 2.06325
0.003920000000000031 2.06325
0.003960000000000031 2.12575
0.004000000000000031 2.18825
0.004040000000000031 2.18825
0.0040800000000000315 2.12575
0.004120000000000032 2.18825
0.004160000000000032 2.18825
0.004200000000000032 2.18825
0.004240000000000032 2.18825
0.004280000000000032 2.25075
0.004320000000000032 2.25075
0.004360000000000032 2.25075
0.004400000000000032 2.25075
0.0044400000000000325 2.25075
0.004480000000000033 2.25075
0.004520000000000033 2.18825
0.004560000000000033 2.25075
0.004600000000000033 2.25075
0.004640000000000033 2.18825
0.004680000000000033 2.25075
0.004720000000000033 2.31325
0.004760000000000033 2.31325
0.004800000000000033 2.25075
0.0048400000000000335 2.18825
0.004880000000000034 2.25075
0.004920000000000034 2.25075
0.004960000000000034 2.25075
0.005000000000000034 2.25075
0.005040000000000034 2.25075
0.005080000000000034 2.25075
0.005120000000000034 2.25075
0.005160000000000034 2.31325
0.0052000000000000345 2.25075
0.0052400000000000346 2.25075
0.005280000000000035 2.31325
0.005320000000000035 2.31325
0.005360000000000035 2.25075
0.005400000000000035 2.25075
0.005440000000000035 2.25075
0.005480000000000035 2.25075
0.005520000000000035 2.25075
0.005560000000000035 2.25075
0.0056000000000000355 2.18825
0.005640000000000036 2.25075
0.005680000000000036 2.25075
0.005720000000000036 2.25075
0.005760000000000036 2.25075
0.005800000000000036 2.25075
0.005840000000000036 2.25075
0.005880000000000036 2.25075
0.005920000000000036 2.25075
0.0059600000000000364 2.31325
0.0060000000000000366 2.31325
0.006040000000000037 2.31325
0.006080000000000037 2.18825
0.006120000000000037 2.18825
0.006160000000000037 2.18825
0.006200000000000037 2.25075
0.006240000000000037 2.18825
0.006280000000000037 2.25075
0.006320000000000037 2.18825
0.0063600000000000375 2.18825
0.006400000000000038 2.18825
0.006440000000000038 2.25075
0.006480000000000038 2.06325
0.006520000000000038 2.18825
0.006560000000000038 2.18825
0.006600000000000038 2.25075
0.006640000000000038 2.25075
0.006680000000000038 2.25075
0.0067200000000000384 2.18825
0.0067600000000000385 2.18825
0.006800000000000039 2.12575
0.006840000000000039 2.18825
0.006880000000000039 2.18825
0.006920000000000039 2.25075
0.006960000000000039 2.18825
0.007000000000000039 2.18825
0.007040000000000039 2.18825
0.007080000000000039 2.18825
0.0071200000000000395 2.12575
0.00716000000000004 2.12575
0.00720000000000004 2.18825
0.00724000000000004 2.12575
0.00728000000000004 2.12575
0.00732000000000004 2.12575
0.00736000000000004 2.12575
0.00740000000000004 2.18825
0.00744000000000004 1.75075
0.0074800000000000404 1.37575
0.0075200000000000405 1.12575
0.007560000000000041 0.81325
0.007600000000000041 0.62575
0.007640000000000041 0.31325
0.007680000000000041 0.0632501
0.007720000000000041 -0.12425
0.007760000000000041 -0.31175
0.007800000000000041 -0.56175
0.007840000000000041 -0.68675
0.007880000000000041 -0.81175
0.007920000000000042 -0.99925
0.007960000000000042 -1.06175
0.008000000000000042 -1.18675
0.008040000000000042 -1.31175
0.008080000000000042 -1.49925
0.008120000000000042 -1.56175
0.008160000000000042 -1.62425
0.008200000000000042 -1.74925
0.008240000000000042 -1.81175
0.008280000000000043 -1.87425
0.008320000000000043 -1.93675
0.008360000000000043 -2.06175
0.008400000000000043 -2.06175
0.008440000000000043 -2.12425
0.008480000000000043 -2.18675
0.008520000000000043 -2.31175
0.008560000000000043 -2.31175
0.008600000000000043 -2.24925
0.008640000000000043 -2.31175
0.008680000000000044 -2.37425
0.008720000000000044 -2.31175
0.008760000000000044 -2.43675
0.008800000000000044 -2.43675
0.008840000000000044 -2.49925
0.008880000000000044 -2.56175
0.008920000000000044 -2.49925
0.008960000000000044 -2.56175
0.009000000000000044 -2.56175
0.009040000000000045 -2.49925
0.009080000000000045 -2.56175
0.009120000000000045 -2.62425
0.009160000000000045 -2.62425
0.009200000000000045 -2.62425
0.009240000000000045 -2.62425
0.009280000000000045 -2.62425
0.009320000000000045 -2.56175
0.009360000000000045 -2.68675
0.009400000000000045 -2.68675
0.009440000000000046 -2.68675
0.009480000000000046 -2.62425
0.009520000000000046 -2.68675
0.009560000000000046 -2.56175
0.009600000000000046 -2.68675
0.009640000000000046 -2.68675
0.009680000000000046 -2.68675
0.009720000000000046 -2.68675
0.009760000000000046 -2.68675
0.009800000000000047 -2.68675
0.009840000000000047 -2.68675
0.009880000000000047 -2.62425
0.009920000000000047 -2.74925
0.009960000000000047 -2.56175
Part (a):
MATLAB CODE:
x=[-0.01
-0.00996
-0.00992
-0.00988
-0.00984
-0.0098
-0.00976
-0.00972
-0.00968
-0.00964
-0.0096
-0.009559999999999999
-0.009519999999999999
-0.009479999999999999
-0.009439999999999999
-0.009399999999999999
-0.009359999999999999
-0.009319999999999998
-0.009279999999999998
-0.009239999999999998
-0.009199999999999998
-0.009159999999999998
-0.009119999999999998
-0.009079999999999998
-0.009039999999999998
-0.008999999999999998
-0.008959999999999997
-0.008919999999999997
-0.008879999999999997
-0.008839999999999997
-0.008799999999999997
-0.008759999999999997
-0.008719999999999997
-0.008679999999999997
-0.008639999999999997
-0.008599999999999997
-0.008559999999999996
-0.008519999999999996
-0.008479999999999996
-0.008439999999999996
-0.008399999999999996
-0.008359999999999996
-0.008319999999999996
-0.008279999999999996
-0.008239999999999996
-0.008199999999999995
-0.008159999999999995
-0.008119999999999995
-0.008079999999999995
-0.008039999999999995
-0.007999999999999995
-0.007959999999999995
-0.007919999999999995
-0.007879999999999995
-0.007839999999999995
-0.0077999999999999944
-0.007759999999999994
-0.007719999999999994
-0.007679999999999994
-0.007639999999999994
-0.007599999999999994
-0.007559999999999994
-0.007519999999999994
-0.007479999999999994
-0.0074399999999999935
-0.007399999999999993
-0.007359999999999993
-0.007319999999999993
-0.007279999999999993
-0.007239999999999993
-0.007199999999999993
-0.007159999999999993
-0.007119999999999993
-0.0070799999999999925
-0.0070399999999999924
-0.006999999999999992
-0.006959999999999992
-0.006919999999999992
-0.006879999999999992
-0.006839999999999992
-0.006799999999999992
-0.006759999999999992
-0.006719999999999992
-0.0066799999999999915
-0.006639999999999991
-0.006599999999999991
-0.006559999999999991
-0.006519999999999991
-0.006479999999999991
-0.006439999999999991
-0.006399999999999991
-0.006359999999999991
-0.0063199999999999906
-0.0062799999999999905
-0.00623999999999999
-0.00619999999999999
-0.00615999999999999
-0.00611999999999999
-0.00607999999999999
-0.00603999999999999
-0.00599999999999999
-0.00595999999999999
-0.0059199999999999895
-0.005879999999999989
-0.005839999999999989
-0.005799999999999989
-0.005759999999999989
-0.005719999999999989
-0.005679999999999989
-0.005639999999999989
-0.005599999999999989
-0.0055599999999999886
-0.0055199999999999885
-0.005479999999999988
-0.005439999999999988
-0.005399999999999988
-0.005359999999999988
-0.005319999999999988
-0.005279999999999988
-0.005239999999999988
-0.005199999999999988
-0.0051599999999999875
-0.005119999999999987
-0.005079999999999987
-0.005039999999999987
-0.004999999999999987
-0.004959999999999987
-0.004919999999999987
-0.004879999999999987
-0.004839999999999987
-0.004799999999999987
-0.0047599999999999865
-0.004719999999999986
-0.004679999999999986
-0.004639999999999986
-0.004599999999999986
-0.004559999999999986
-0.004519999999999986
-0.004479999999999986
-0.004439999999999986
-0.0043999999999999855
-0.004359999999999985
-0.004319999999999985
-0.004279999999999985
-0.004239999999999985
-0.004199999999999985
-0.004159999999999985
-0.004119999999999985
-0.004079999999999985
-0.004039999999999985
-0.0039999999999999845
-0.003959999999999984
-0.003919999999999984
-0.003879999999999984
-0.003839999999999984
-0.003799999999999984
-0.003759999999999984
-0.0037199999999999837
-0.0036799999999999836
-0.0036399999999999835
-0.0035999999999999834
-0.0035599999999999833
-0.003519999999999983
-0.003479999999999983
-0.003439999999999983
-0.003399999999999983
-0.003359999999999983
-0.0033199999999999827
-0.0032799999999999826
-0.0032399999999999825
-0.0031999999999999824
-0.0031599999999999823
-0.003119999999999982
-0.003079999999999982
-0.003039999999999982
-0.002999999999999982
-0.0029599999999999817
-0.0029199999999999816
-0.0028799999999999815
-0.0028399999999999814
-0.0027999999999999813
-0.0027599999999999812
-0.002719999999999981
-0.002679999999999981
-0.002639999999999981
-0.002599999999999981
-0.0025599999999999807
-0.0025199999999999806
-0.0024799999999999805
-0.0024399999999999804
-0.0023999999999999803
-0.00235999999999998
-0.00231999999999998
-0.00227999999999998
-0.00223999999999998
-0.0021999999999999797
-0.0021599999999999796
-0.0021199999999999795
-0.0020799999999999794
-0.0020399999999999793
-0.0019999999999999792
-0.001959999999999979
-0.001919999999999979
-0.001879999999999979
-0.0018399999999999788
-0.0017999999999999787
-0.0017599999999999786
-0.0017199999999999785
-0.0016799999999999784
-0.0016399999999999783
-0.0015999999999999782
-0.001559999999999978
-0.001519999999999978
-0.0014799999999999779
-0.0014399999999999778
-0.0013999999999999777
-0.0013599999999999775
-0.0013199999999999774
-0.0012799999999999773
-0.0012399999999999772
-0.0011999999999999771
-0.001159999999999977
-0.001119999999999977
-0.0010799999999999768
-0.0010399999999999767
-9.999999999999766E-4
-9.599999999999766E-4
-9.199999999999766E-4
-8.799999999999766E-4
-8.399999999999766E-4
-7.999999999999766E-4
-7.599999999999766E-4
-7.199999999999766E-4
-6.799999999999766E-4
-6.399999999999766E-4
-5.999999999999766E-4
-5.599999999999766E-4
-5.199999999999766E-4
-4.7999999999997665E-4
-4.3999999999997665E-4
-3.9999999999997665E-4
-3.5999999999997666E-4
-3.1999999999997666E-4
-2.7999999999997667E-4
-2.3999999999997667E-4
-1.9999999999997667E-4
-1.5999999999997668E-4
-1.1999999999997668E-4
-7.999999999997668E-5
-3.999999999997668E-5
2.3323899235594414E-17
4.000000000002333E-5
8.000000000002333E-5
1.2000000000002333E-4
1.6000000000002332E-4
2.0000000000002332E-4
2.4000000000002332E-4
2.8000000000002334E-4
3.2000000000002334E-4
3.6000000000002333E-4
4.0000000000002333E-4
4.400000000000233E-4
4.800000000000233E-4
5.200000000000234E-4
5.600000000000234E-4
6.000000000000234E-4
6.400000000000234E-4
6.800000000000234E-4
7.200000000000234E-4
7.600000000000234E-4
8.000000000000233E-4
8.400000000000233E-4
8.800000000000233E-4
9.200000000000233E-4
9.600000000000233E-4
0.0010000000000000234
0.0010400000000000235
0.0010800000000000236
0.0011200000000000238
0.0011600000000000239
0.001200000000000024
0.001240000000000024
0.0012800000000000242
0.0013200000000000243
0.0013600000000000244
0.0014000000000000245
0.0014400000000000246
0.0014800000000000247
0.0015200000000000248
0.001560000000000025
0.001600000000000025
0.0016400000000000251
0.0016800000000000252
0.0017200000000000253
0.0017600000000000254
0.0018000000000000255
0.0018400000000000256
0.0018800000000000257
0.0019200000000000259
0.001960000000000026
0.002000000000000026
0.002040000000000026
0.0020800000000000263
0.0021200000000000264
0.0021600000000000265
0.0022000000000000266
0.0022400000000000267
0.002280000000000027
0.002320000000000027
0.002360000000000027
0.002400000000000027
0.002440000000000027
0.0024800000000000273
0.0025200000000000274
0.0025600000000000275
0.0026000000000000276
0.0026400000000000277
0.002680000000000028
0.002720000000000028
0.002760000000000028
0.002800000000000028
0.0028400000000000283
0.0028800000000000284
0.0029200000000000285
0.0029600000000000286
0.0030000000000000287
0.003040000000000029
0.003080000000000029
0.003120000000000029
0.003160000000000029
0.003200000000000029
0.0032400000000000293
0.0032800000000000294
0.0033200000000000295
0.0033600000000000296
0.0034000000000000297
0.00344000000000003
0.00348000000000003
0.00352000000000003
0.00356000000000003
0.0036000000000000303
0.0036400000000000304
0.0036800000000000305
0.0037200000000000306
0.0037600000000000307
0.003800000000000031
0.003840000000000031
0.003880000000000031
0.003920000000000031
0.003960000000000031
0.004000000000000031
0.004040000000000031
0.0040800000000000315
0.004120000000000032
0.004160000000000032
0.004200000000000032
0.004240000000000032
0.004280000000000032
0.004320000000000032
0.004360000000000032
0.004400000000000032
0.0044400000000000325
0.004480000000000033
0.004520000000000033
0.004560000000000033
0.004600000000000033
0.004640000000000033
0.004680000000000033
0.004720000000000033
0.004760000000000033
0.004800000000000033
0.0048400000000000335
0.004880000000000034
0.004920000000000034
0.004960000000000034
0.005000000000000034
0.005040000000000034
0.005080000000000034
0.005120000000000034
0.005160000000000034
0.0052000000000000345
0.0052400000000000346
0.005280000000000035
0.005320000000000035
0.005360000000000035
0.005400000000000035
0.005440000000000035
0.005480000000000035
0.005520000000000035
0.005560000000000035
0.0056000000000000355
0.005640000000000036
0.005680000000000036
0.005720000000000036
0.005760000000000036
0.005800000000000036
0.005840000000000036
0.005880000000000036
0.005920000000000036
0.0059600000000000364
0.0060000000000000366
0.006040000000000037
0.006080000000000037
0.006120000000000037
0.006160000000000037
0.006200000000000037
0.006240000000000037
0.006280000000000037
0.006320000000000037
0.0063600000000000375
0.006400000000000038
0.006440000000000038
0.006480000000000038
0.006520000000000038
0.006560000000000038
0.006600000000000038
0.006640000000000038
0.006680000000000038
0.0067200000000000384
0.0067600000000000385
0.006800000000000039
0.006840000000000039
0.006880000000000039
0.006920000000000039
0.006960000000000039
0.007000000000000039
0.007040000000000039
0.007080000000000039
0.0071200000000000395
0.00716000000000004
0.00720000000000004
0.00724000000000004
0.00728000000000004
0.00732000000000004
0.00736000000000004
0.00740000000000004
0.00744000000000004
0.0074800000000000404
0.0075200000000000405
0.007560000000000041
0.007600000000000041
0.007640000000000041
0.007680000000000041
0.007720000000000041
0.007760000000000041
0.007800000000000041
0.007840000000000041
0.007880000000000041
0.007920000000000042
0.007960000000000042
0.008000000000000042
0.008040000000000042
0.008080000000000042
0.008120000000000042
0.008160000000000042
0.008200000000000042
0.008240000000000042
0.008280000000000043
0.008320000000000043
0.008360000000000043
0.008400000000000043
0.008440000000000043
0.008480000000000043
0.008520000000000043
0.008560000000000043
0.008600000000000043
0.008640000000000043
0.008680000000000044
0.008720000000000044
0.008760000000000044
0.008800000000000044
0.008840000000000044
0.008880000000000044
0.008920000000000044
0.008960000000000044
0.009000000000000044
0.009040000000000045
0.009080000000000045
0.009120000000000045
0.009160000000000045
0.009200000000000045
0.009240000000000045
0.009280000000000045
0.009320000000000045
0.009360000000000045
0.009400000000000045
0.009440000000000046
0.009480000000000046
0.009520000000000046
0.009560000000000046
0.009600000000000046
0.009640000000000046
0.009680000000000046
0.009720000000000046
0.009760000000000046
0.009800000000000047
0.009840000000000047
0.009880000000000047
0.009920000000000047
0.009960000000000047];
y=[2.68675
-2.62425
-2.74925
-2.62425
-2.62425
-2.68675
-2.62425
-2.68675
-2.62425
-2.74925
-2.62425
-2.74925
-2.68675
-2.68675
-2.68675
-2.68675
-2.62425
-2.68675
-2.68675
-2.62425
-2.68675
-2.68675
-2.62425
-2.68675
-2.68675
-2.62425
-2.62425
-2.62425
-2.68675
-2.68675
-2.62425
-2.68675
-2.62425
-2.68675
-2.62425
-2.68675
-2.62425
-2.62425
-2.62425
-2.68675
-2.62425
-2.62425
-2.62425
-2.56175
-2.62425
-2.56175
-2.62425
-2.62425
-2.62425
-2.56175
-2.62425
-2.62425
-2.62425
-2.62425
-2.49925
-2.62425
-2.56175
-2.56175
-2.56175
-2.56175
-2.43675
-2.06175
-1.74925
-1.43675
-1.12425
-0.93675
-0.68675
-0.43675
-0.24925
-0.12425
0.12575
0.43825
0.50075
0.62575
0.75075
0.87575
1.00075
1.06325
1.18825
1.25075
1.37575
1.43825
1.50075
1.50075
1.62575
1.68825
1.81325
1.87575
1.87575
1.87575
1.93825
2.00075
1.93825
2.00075
2.00075
2.06325
2.12575
2.12575
2.00075
2.18825
2.12575
2.12575
2.18825
2.25075
2.12575
2.18825
2.18825
2.18825
2.25075
2.25075
2.18825
2.18825
2.31325
2.25075
2.31325
2.25075
2.25075
2.25075
2.25075
2.25075
2.25075
2.18825
2.25075
2.25075
2.25075
2.25075
2.25075
2.37575
2.25075
2.25075
2.18825
2.25075
2.18825
2.25075
2.25075
2.31325
2.25075
2.25075
2.31325
2.25075
2.18825
2.18825
2.25075
2.25075
2.18825
2.31325
2.25075
2.25075
2.18825
2.25075
2.18825
2.25075
2.25075
2.18825
2.25075
2.25075
2.25075
2.25075
2.25075
2.25075
2.25075
2.18825
2.18825
2.18825
2.18825
2.25075
2.18825
2.18825
2.12575
2.18825
2.25075
2.25075
2.25075
2.25075
2.18825
2.18825
2.18825
2.18825
2.12575
2.18825
2.12575
2.18825
2.18825
2.18825
2.12575
2.06325
1.87575
1.43825
1.18825
0.87575
0.56325
0.18825
0.12575
-0.24925
-0.31175
-0.56175
-0.81175
-0.81175
-1.06175
-1.12425
-1.31175
-1.43675
-1.56175
-1.56175
-1.62425
-1.68675
-1.87425
-1.93675
-1.93675
-2.06175
-2.06175
-2.12425
-2.18675
-2.18675
-2.24925
-2.31175
-2.37425
-2.37425
-2.43675
-2.37425
-2.49925
-2.49925
-2.49925
-2.43675
-2.49925
-2.56175
-2.56175
-2.62425
-2.56175
-2.62425
-2.62425
-2.56175
-2.62425
-2.68675
-2.62425
-2.62425
-2.68675
-2.68675
-2.62425
-2.68675
-2.56175
-2.62425
-2.62425
-2.62425
-2.68675
-2.68675
-2.74925
-2.68675
-2.62425
-2.68675
-2.68675
-2.68675
-2.68675
-2.68675
-2.68675
-2.68675
-2.68675
-2.68675
-2.68675
-2.68675
-2.68675
-2.68675
-2.68675
-2.62425
-2.62425
-2.56175
-2.62425
-2.68675
-2.74925
-2.74925
-2.68675
-2.62425
-2.68675
-2.68675
-2.68675
-2.68675
-2.62425
-2.56175
-2.62425
-2.56175
-2.62425
-2.56175
-2.62425
-2.68675
-2.62425
-2.62425
-2.62425
-2.62425
-2.68675
-2.56175
-2.62425
-2.56175
-2.68675
-2.62425
-2.62425
-2.68675
-2.56175
-2.62425
-2.56175
-2.56175
-2.62425
-2.56175
-2.62425
-2.62425
-2.62425
-2.56175
-2.62425
-2.62425
-2.56175
-2.62425
-2.62425
-2.06175
-1.87425
-1.49925
-1.12425
-0.81175
-0.56175
-0.43675
-0.18675
-0.0617499
0.12575
0.37575
0.43825
0.68825
0.68825
0.87575
1.00075
1.12575
1.18825
1.25075
1.37575
1.43825
1.50075
1.62575
1.62575
1.62575
1.75075
1.81325
1.81325
1.87575
1.87575
1.87575
1.93825
2.06325
2.06325
2.06325
2.12575
2.06325
2.06325
2.12575
2.18825
2.18825
2.12575
2.18825
2.18825
2.18825
2.18825
2.25075
2.25075
2.25075
2.25075
2.25075
2.25075
2.18825
2.25075
2.25075
2.18825
2.25075
2.31325
2.31325
2.25075
2.18825
2.25075
2.25075
2.25075
2.25075
2.25075
2.25075
2.25075
2.31325
2.25075
2.25075
2.31325
2.31325
2.25075
2.25075
2.25075
2.25075
2.25075
2.25075
2.18825
2.25075
2.25075
2.25075
2.25075
2.25075
2.25075
2.25075
2.25075
2.31325
2.31325
2.31325
2.18825
2.18825
2.18825
2.25075
2.18825
2.25075
2.18825
2.18825
2.18825
2.25075
2.06325
2.18825
2.18825
2.25075
2.25075
2.25075
2.18825
2.18825
2.12575
2.18825
2.18825
2.25075
2.18825
2.18825
2.18825
2.18825
2.12575
2.12575
2.18825
2.12575
2.12575
2.12575
2.12575
2.18825
1.75075
1.37575
1.12575
0.81325
0.62575
0.31325
0.0632501
-0.12425
-0.31175
-0.56175
-0.68675
-0.81175
-0.99925
-1.06175
-1.18675
-1.31175
-1.49925
-1.56175
-1.62425
-1.74925
-1.81175
-1.87425
-1.93675
-2.06175
-2.06175
-2.12425
-2.18675
-2.31175
-2.31175
-2.24925
-2.31175
-2.37425
-2.31175
-2.43675
-2.43675
-2.49925
-2.56175
-2.49925
-2.56175
-2.56175
-2.49925
-2.56175
-2.62425
-2.62425
-2.62425
-2.62425
-2.62425
-2.56175
-2.68675
-2.68675
-2.68675
-2.62425
-2.68675
-2.56175
-2.68675
-2.68675
-2.68675
-2.68675
-2.68675
-2.68675
-2.68675
-2.62425
-2.74925
-2.56175];
plot(x,y)
xlabel(‘time”)
ylabel(“voltage”)
MATLAB Code:
num=[6289.31];
den=[1 6289.31];
sys=tf(num,den)
bode(sys)
Output: