Regular Expression
正则表达式是指用于字符串匹配的一种模式,最早出现于20世纪40年代. 字符集(字符组) [] [0-9] 可以匹配0到9范围内的任意数字.可以简写为 \d. \D 可以匹配非数字字符.相当于 [^0-9] 或 [^\d]. \t 可以匹配水平制表符. \v 可以匹配垂直制表符. \f 可以匹配换页符. \n 可以匹配换行符. \r 可以匹配回车符. \s 可以匹配空白字符.相当于 …
正则表达式是指用于字符串匹配的一种模式,最早出现于20世纪40年代. 字符集(字符组) [] [0-9] 可以匹配0到9范围内的任意数字.可以简写为 \d. \D 可以匹配非数字字符.相当于 [^0-9] 或 [^\d]. \t 可以匹配水平制表符. \v 可以匹配垂直制表符. \f 可以匹配换页符. \n 可以匹配换行符. \r 可以匹配回车符. \s 可以匹配空白字符.相当于 …
Introduction One of the most charmful characters of Python is its a rich number of packages. Accordingly, package managers emerge, e.g., pip, setuptools. This post just briefly introduce the usage of …
Tikz/pgf is an excellent LaTeX package to draw pictures. It can be used in Emacs org mode. An example can be provided as follows. ,#+BEGIN_SRC latex :file FILE.png :imagemagick yes :headers …
Introduction Orgmode provides a minor mode orgtbl-mode, which makes table creating and editing extremely easy. Any line with | as the first non-whitespace character is treated as a part of a table. …
Introduction Orgmode is an extremely powerful tool for get thing done (GTD), project planning, note keeping, etc. Orgmode makes it fairly easy to insert, edit, and reference to a variety types of …
Introduction As is well-known, orgmode is a famous major mode of Emacs. What deserves notice, it can export org files to a variety of formats, e.g. \LaTeX, pdf, text, freemind. Today, I found an …
Mutt is a text-based but powerful mail user agent (MUA) in the world of Unix/Linux. Originally, it is nothing but a MUA. However, it can make use of other programs to edit, send and receive mails. …
If MATLAB is installed on a secure shell (SSH) server, which is avaiable for access, we can run MATLAB remotely through SSH. In this way, MATLAB is running in symbol environment without X display, …
Provided a MATLAB figure file, e.g. FILE.fig, the original data can be abstracted by following procedure. open('FILE.fig'); % open the figure file fig_handle = findall(gca, 'type', …
设时间\([0, T]\)内的观察信号\(r(t)\)为信号\(s(t)\)和噪声\(n(t)\)的叠加,也即 \begin{align*} r(t) = s(t) + n(t), \quad t \in [0, T] \end{align*} 如果要设计一个冲激响应为\(h(t)\)的滤波器,使得其输出在\(t = T\)时的信噪比(signal to noise power ratio, …