Josh's Blog

一个电子工程师的修养

1. 离散傅里叶变换(Discrete Fourier Transform, DFT)的定义

  取离散傅里叶级数的主值,得离散傅里叶变换

\[\begin{equation} X\left(k\right)=\widetilde{X}\left(k\right)R_N\left(k\right)=\sum_{n=0}^{N-1}{x\left(n\right)W_N^{kn}},\ \ k=0,1,\cdots,N-1 \end{equation}\]

\[\begin{equation} x\left(n\right)=\widetilde{x}\left(n\right)R_N\left(n\right)=\frac{1}{N}\sum_{k=0}^{N-1}{X\left(k\right)W_N^{-kn}},\ \ n=0,1,\cdots,N-1 \end{equation}\]

且 \(\widetilde{X}\left(k\right)=X\left(\left(k\right)\right)_N,\widetilde{x}\left(n\right)=x\left(\left(n\right)\right)_N\)。其中 \(R_N\left(n\right)\) 表示矩形序列,表示取主值;\(\left(\left(n\right)\right)_N\) 表示 \(n\) 对 \(N\) 取余。

注:不同教材中取主值、取余的符号表述可能不同。

阅读全文 »

1. 傅里叶变换的几种形式

1.1 非周期连续时间信号的傅里叶变换

  非周期连续时间信号的傅里叶变换(连续时间傅里叶变换,Continuous-Time Fourier Transform, CTFT)的形式为:

\[\begin{equation} X_a\left(j\Omega\right)=\int_{-\infty}^{\infty}{x_a\left(t\right)e^{-j\Omega t}\mathrm{d}t} \end{equation}\]

\[\begin{equation} x_a\left(t\right)=\frac{1}{2\pi}\int_{-\infty}^{\infty}{X_a\left(j\Omega\right)e^{j\Omega t}\mathrm{d}\Omega} \end{equation}\]

阅读全文 »

1. 理想取样信号的频谱

  设有输入连续时间信号 \(x_a\left(t\right)\),理想取样信号 \(\hat{x}\left(t\right)\),单位周期冲激串 \(p_\delta\left(t\right)=\displaystyle\sum_{n=-\infty}^{\infty}\delta\left(t-nT\right)\),则理想取样信号可表示为

\[\begin{equation} \hat{x}\left(t\right)=x_a\left(t\right)p_\delta\left(t\right)=x_a\left(t\right)\sum_{n=-\infty}^{\infty}\delta\left(t-nT\right) \end{equation}\]

由于 \(\delta\left(t-nT\right)\) 仅在 \(t=nT\) 时非零,因此理想取样信号可进一步表示为

\[\begin{equation} \hat{x}\left(t\right)=\sum_{n=-\infty}^{\infty}{x_a\left(nT\right)\delta\left(t-nT\right)} \end{equation}\]

阅读全文 »

1. 常见等价无穷小

\(\sin x \sim x\)\(\tan x \sim x\)\(\arcsin x \sim x\)
\(\arctan x \sim x\)\(\displaystyle\left( 1 - \cos x \right) \sim \dfrac{x^2}{2}\)\(\ln (1+x) \sim x\)
\(\left( e^x -1 \right) \sim x\)\(\left( a^x - 1 \right) \sim x \ln a\)\(\left( \left( 1+x \right) ^\alpha -1 \right) \sim \alpha x\)
阅读全文 »

indefinite article - a

Pronunciation

  • BrE: /ə/, strong form /eɪ/
  • NAmE: /ə/, strong form /eɪ/

also an

  • BrE: /ən/, strong form /æn/
  • NAmE: /ən/, strong form /æn/

The form a is used before consonant sounds and the form an before vowel sounds. When saying abbreviations like ‘FM’ or ‘UN’, use a or an according to how the first letter is said. For example, F is a consonant, but begins with the sound /e/ and so you say: an FM radio. U is a vowel but begins with /j/ and so you say: a UN declaration.

Explanation

  1. A1 used before countable or singular nouns referring to people or things that have not already been mentioned(用于可数名词或单数名词前,表示未曾提到的)一(人、事、物)

    阅读全文 »

noun

Pronunciation

  • BrE: /pɪtʃ/
  • NAmE: /pɪtʃ/

Explanation

for sport 体育运动

  1. B2 (British English)

    (also field North American English, British English)

    [countable] an area of ground specially prepared and marked for playing a sports game

    阅读全文 »

和 Verilog 相比,SystemVerilog 提供了很多改进了的数据结构。虽然其中的部分结构最初是为设计人员创建的,但对测试人员也同样有用。本文将介绍这些对验证很有用的数据结构。

SystemVerilog 引进了一些新的数据类型,它们具有如下优点:

  1. 双状态数据类型 (Two-state):性能更好,内存消耗更低。
  2. 队列、动态数组和关联数组 (Queues, dynamic and associative arrays):内存消耗减少,自带搜索和分类功能。
  3. 类和结构 (Classes and structures:):支持抽象数据结构。
  4. 联合和合并结构 (Unions and packed structures):允许对同一数据有多种视图 (view)。
  5. 字符串 (Strings):支持内建的字符序列。
  6. 枚举类型 (Enumerated types):方便代码编写、增加可读性。
阅读全文 »