how to find bode plot,phase magnitude plot and template in control system?
이전 댓글 표시
z=1:0.5:10; a=1:0.5:5; num=kron(z,ones(1,length(a))); i=1:length(a); deno=zeros(9,3); deno(i,1)=1; deno(i,2)=a(i); den=repmat(deno,length(z),1); n=numel(num); for m=1:n sys(m)=tf(num(m),den(m,:)); end
댓글 수: 1
Anita pawar
2017년 7월 11일
In the above solution which u have given for phase magnitude plot is it for 171 transfer functions or for one transfer function?
채택된 답변
추가 답변 (1개)
nelson
2017년 7월 13일
댓글 수: 1
Star Strider
2017년 7월 13일
You have to call the bode function with outputs:
[mag,phs,wout] = bode(sys,w);
Magnitude = squeeze(mag);
Phase = squeeze(phs);
I have no idea what you are doing with your code.
카테고리
도움말 센터 및 File Exchange에서 Plot Customization에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!