From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 61/DEPENDENCIES/gain_in_decibel_power.sci | 3 +++ 61/DEPENDENCIES/gain_in_decibel_voltage.sci | 3 +++ 61/DEPENDENCIES/open_loop_gain.sci | 3 +++ 61/DEPENDENCIES/phase_shift.sci | 4 ++++ 61/DEPENDENCIES/value_of_I_D.sci | 4 ++++ 61/DEPENDENCIES/value_of_K.sci | 4 ++++ 6 files changed, 21 insertions(+) create mode 100755 61/DEPENDENCIES/gain_in_decibel_power.sci create mode 100755 61/DEPENDENCIES/gain_in_decibel_voltage.sci create mode 100755 61/DEPENDENCIES/open_loop_gain.sci create mode 100755 61/DEPENDENCIES/phase_shift.sci create mode 100755 61/DEPENDENCIES/value_of_I_D.sci create mode 100755 61/DEPENDENCIES/value_of_K.sci (limited to '61/DEPENDENCIES') diff --git a/61/DEPENDENCIES/gain_in_decibel_power.sci b/61/DEPENDENCIES/gain_in_decibel_power.sci new file mode 100755 index 000000000..7e229817c --- /dev/null +++ b/61/DEPENDENCIES/gain_in_decibel_power.sci @@ -0,0 +1,3 @@ +function A_p_dB=gain_in_decibel_power(A_p) + A_p_dB=10*log10(A_p) +endfunction \ No newline at end of file diff --git a/61/DEPENDENCIES/gain_in_decibel_voltage.sci b/61/DEPENDENCIES/gain_in_decibel_voltage.sci new file mode 100755 index 000000000..80f71b3bf --- /dev/null +++ b/61/DEPENDENCIES/gain_in_decibel_voltage.sci @@ -0,0 +1,3 @@ +function A_v_dB=gain_in_decibel_voltage(A_v) + A_v_dB=20*log10(A_v) +endfunction \ No newline at end of file diff --git a/61/DEPENDENCIES/open_loop_gain.sci b/61/DEPENDENCIES/open_loop_gain.sci new file mode 100755 index 000000000..30829b639 --- /dev/null +++ b/61/DEPENDENCIES/open_loop_gain.sci @@ -0,0 +1,3 @@ +function A_ol=open_loop_gain(A_ol_mid,f,f_c_ol) + A_ol=A_ol_mid/(sqrt(1+(f/f_c_ol)^2)) +endfunction \ No newline at end of file diff --git a/61/DEPENDENCIES/phase_shift.sci b/61/DEPENDENCIES/phase_shift.sci new file mode 100755 index 000000000..3c9a653cb --- /dev/null +++ b/61/DEPENDENCIES/phase_shift.sci @@ -0,0 +1,4 @@ +function theta=phase_shift(f,f_c) + theta_rad=-atan((f/f_c)) + theta=theta_rad*180/%pi; +endfunction \ No newline at end of file diff --git a/61/DEPENDENCIES/value_of_I_D.sci b/61/DEPENDENCIES/value_of_I_D.sci new file mode 100755 index 000000000..622186ffe --- /dev/null +++ b/61/DEPENDENCIES/value_of_I_D.sci @@ -0,0 +1,4 @@ +//value of I_D +function [i_d]= value_of_I_D(I_DSS,V_GS,V_GS_off) + i_d=I_DSS*(1-(V_GS/V_GS_off))^2; +endfunction \ No newline at end of file diff --git a/61/DEPENDENCIES/value_of_K.sci b/61/DEPENDENCIES/value_of_K.sci new file mode 100755 index 000000000..200c4db02 --- /dev/null +++ b/61/DEPENDENCIES/value_of_K.sci @@ -0,0 +1,4 @@ +//VALUE OF K +function [k]=value_of_K(I_D_on,V_GS,V_GS_th) + k=I_D_on/((V_GS-V_GS_th)^2) +endfunction \ No newline at end of file -- cgit