ソースを参照

made copy for RLC circuit

publish
Wouter Horlings 8年前
コミット
3056d77004
2個のファイルの変更17行の追加0行の削除
  1. バイナリ
      OOequipment/RLC_TransferFunction.mlx
  2. +17
    -0
      OOequipment/subfiles/RLC_TransferFunction_script.m

バイナリ
OOequipment/RLC_TransferFunction.mlx ファイルの表示


+ 17
- 0
OOequipment/subfiles/RLC_TransferFunction_script.m ファイルの表示

@@ -0,0 +1,17 @@
%% Run the measurements
data = transferFunction(oscilloscope,functiongenerator,f_start,f_stop,n_steps,amplitude);
S = asymptote(S_smaller,S_larger,f,Fc);
figure;
subplot(2,1,1)
semilogx(data.frequency,data.magnitude,f,A,f,S)
ylabel('Magnitude [dB]','Fontsize',10);
xlabel('Frequency [Hz]','Fontsize',10);
legend('Measurement','Theory','Asymptote');
grid on
title('RC-circuit Bodeplot')
subplot(2,1,2);
semilogx(data.frequency,data.phase,f,P)
ylabel('Phase [rad]','Fontsize',10);
xlabel('Frequency [Hz]','Fontsize',10);
legend('Measurement','Theory');
grid on

読み込み中…
キャンセル
保存