Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- %% Pierwsze zakłócenie
- Wpc21=[605 615]/(0.5*fs)
- Wsc21=[595 625]/(0.5*fs)
- Rpc21=3;
- Rsc21=45;
- [nc21,Wnc21]=cheb2ord(Wpc21,Wsc21,Rpc21,Rsc21)
- [bc21,ac21]=cheby2(nc21,Rsc21,Wnc21,'stop')
- GC21=tf(bc21,ac21,1/fs)
- figure(4)
- options = bodeoptions;
- options.FreqUnits = 'Hz';
- options.FreqScale = 'linear'
- bode(GC21, options)
- xlim([0 4700])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement