파일:Nyquist example.svg

testwiki
둘러보기로 이동 검색으로 이동
    원본 파일 (SVG 파일, 실제 크기 443 × 428 픽셀, 파일 크기: 53 KB)

    이 파일은 위키미디어 공용에 있으며, 다른 프로젝트에서 사용하고 있을 가능성이 있습니다. 해당 파일에 대한 설명이 아래에 나와 있습니다.

    파일 설명

    설명 The Nyquist Plot for a sample function G(s)=1s2+s+1 that can be converted to frequency by replacing s with jω (imaginary frequency) and −∞≤ω≤∞. Created using Python and matplotlib.
    날짜
    출처 자작
    저자 Utkarsh Upadhyay,--Krishnavedala (talk) 20:21, 3 June 2011 (UTC) (python version)
    저작권
    (이 파일을 인용하기)
    Public Domain
     W3C-validity not checked.
    Source Code
    from numpy import *
    from matplotlib.pyplot import *
    
    def nyquist(w):		# compute the complex Nyquist response
    	s = complex(0,w)
    	return (1/(s**2+s+1))
    	
    fig = figure(figsize=(5,5))
    ax = fig.add_subplot(111)
    ax.grid(True)
    
    t, N = linspace(0,5*pi,200), [] # 5*pi is approx. to infinity. 
    for i in t:			# compute the complex response for +ve omega
    	N = append(N,nyquist(i))
    ax.plot(real(N),imag(N),label=r"$0\leq\omega\leq\infty$")
    t, N = linspace(-5*pi,0,200), []
    for i in t:			# compute the complex response for -ve omega
    	N = append(N,nyquist(i))
    ax.plot(real(N),imag(N),label=r"$-\infty\leq\omega\leq 0$")
    ax.legend(frameon=False)
    setp(ax.get_legend().get_texts(),fontsize='small')
    ax.set_xlabel(r"$\mathrm{Re}\left[G\left(\omega\right)\right]$")
    ax.set_ylabel(r"$\mathrm{Im}\left[G\left(\omega\right)\right]$")
    ax.text(0.6,-1.25,r"$G(s)=\frac{1}{s^2+s+1}$",\
    	fontsize=15)
    
    #fig.show()
    fig.savefig("Nyquist example.svg",bbox_inches="tight",\
    	pad_inches=.15)
    

    라이선스

    Public domain 나는 이 작품의 저작권자로서, 이 작품을 퍼블릭 도메인으로 모두에게 공개합니다. 이 공개 선언은 전 세계적으로 유효합니다.
    만약 저작권의 포기가 법률적으로 가능하지 않은 경우,
    나는 이 작품을 법적으로 허용되는 한도 내에서 누구나 자유롭게 어떤 목적으로도 제한없이 사용할 수 있도록 허용합니다.

    설명

    이 파일이 나타내는 바에 대한 한 줄 설명을 추가합니다

    이 파일에 묘사된 항목

    다음을 묘사함

    파일 역사

    날짜/시간 링크를 클릭하면 해당 시간의 파일을 볼 수 있습니다.

    날짜/시간섬네일크기사용자설명
    현재2011년 6월 3일 (금) 21:102011년 6월 3일 (금) 21:10 판의 섬네일443 × 428 (53 KB)wikimediacommons>Krishnavedalacorrected the equation in the curve

    이 파일을 사용하는 문서가 없습니다.