原始檔案(SVG 檔案,表面大小:443 × 428 像素,檔案大小:53 KB)


摘要

描述 The Nyquist Plot for a sample function that can be converted to frequency by replacing with (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 我,此作品的版權所有人,釋出此作品至公共領域。此授權條款在全世界均適用。
這可能在某些國家不合法,如果是的話:
我授予任何人有權利使用此作品於任何用途,除受法律約束外,不受任何限制。

說明

添加單行說明來描述出檔案所代表的內容

在此檔案描寫的項目

描繪內容

檔案來源 Chinese (Taiwan) (已轉換拼寫)

檔案歷史

點選日期/時間以檢視該時間的檔案版本。

日期/時間縮⁠圖尺寸使用者備⁠註
目前2011年6月3日 (五) 20:10於 2011年6月3日 (五) 20:10 版本的縮圖443 × 428(53 KB)Krishnavedalacorrected the equation in the curve
2011年6月3日 (五) 20:04於 2011年6月3日 (五) 20:04 版本的縮圖443 × 428(53 KB)Krishnavedalaa well defined curve
2010年7月1日 (四) 20:55於 2010年7月1日 (四) 20:55 版本的縮圖1,000 × 1,000(7 KB)DieBucheBotTrying to fix SVG using scour
2007年3月27日 (二) 02:36於 2007年3月27日 (二) 02:36 版本的縮圖1,000 × 1,000(11 KB)Musically ut{{Information |Description=The Nyquist Plot for a sample function. |Source=Octave and GNU Plot |Date=27/03/06 |Author=Utkarsh Upadhyay |Permission=Public Domain |other_versions= - }}

下列頁面有用到此檔案:

全域檔案使用狀況

以下其他 wiki 使用了這個檔案: