Why this code give me Zero out put

1 view (last 30 days)
Jaydeepkumar Patel
Jaydeepkumar Patel on 15 Jul 2018
%fundamental frequency f1 f1=60;
% fundamental angular frequency omegaone omegaone =2.*pi.*f1;
%frequency range f f=[0.1: 0.1: 10000];
%angular frequency omegadot omegadot=2.*pi.*f;
%variable s s=j.*omegadot;
%RSC Integral Gain Kri Kri=0.027;
%RSC Proportional Gain
Krp=0.052
%Current Compensator function RSC current controller Hr
Hr= Krp+(Kri./(s-j.*omegaone));

Answers (0)

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!