<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://www.jaeyoung.wiki/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://www.jaeyoung.wiki/feed.php">
        <title>Jaeyoung Wiki - kb</title>
        <description></description>
        <link>https://www.jaeyoung.wiki/</link>
        <image rdf:resource="https://www.jaeyoung.wiki/_media/wiki:dokuwiki.svg" />
       <dc:date>2026-04-12T08:19:42+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://www.jaeyoung.wiki/kb:8051_interrupts?rev=1714449825&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.jaeyoung.wiki/kb:8051_io?rev=1714449825&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.jaeyoung.wiki/kb:8051_memory?rev=1714449825&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.jaeyoung.wiki/kb:8051_microcontroller?rev=1714449825&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.jaeyoung.wiki/kb:8051_uart?rev=1714449825&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.jaeyoung.wiki/kb:analog_electronics?rev=1714449825&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.jaeyoung.wiki/kb:antenna_design?rev=1714449825&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.jaeyoung.wiki/kb:bayesian_statistics?rev=1714449825&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.jaeyoung.wiki/kb:bibo_stability?rev=1714449825&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.jaeyoung.wiki/kb:common_probability_distributions?rev=1714449825&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.jaeyoung.wiki/kb:comparator?rev=1714449825&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.jaeyoung.wiki/kb:computer_architecture?rev=1714449825&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.jaeyoung.wiki/kb:confidence_interval?rev=1714449825&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.jaeyoung.wiki/kb:control_theory?rev=1714449825&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.jaeyoung.wiki/kb:convolution?rev=1714449825&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.jaeyoung.wiki/kb:crossvalidation?rev=1714449825&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.jaeyoung.wiki/kb:ct_dt_conversion?rev=1714449825&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.jaeyoung.wiki/kb:delta_method?rev=1714449825&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.jaeyoung.wiki/kb:digital_electronics?rev=1714449825&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.jaeyoung.wiki/kb:driven_response?rev=1714449825&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.jaeyoung.wiki/kb:ee_applications?rev=1714449825&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.jaeyoung.wiki/kb:ee_references?rev=1714449825&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.jaeyoung.wiki/kb:electromagnetics?rev=1714449825&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.jaeyoung.wiki/kb:energy_spectral_density?rev=1714449825&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.jaeyoung.wiki/kb:equity_economics?rev=1714449825&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.jaeyoung.wiki/kb:ergodicity?rev=1714449825&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.jaeyoung.wiki/kb:esp32_info?rev=1714449825&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.jaeyoung.wiki/kb:estimation_methods?rev=1714449825&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.jaeyoung.wiki/kb:estimator_distribution?rev=1714449825&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.jaeyoung.wiki/kb:etc_sudoers?rev=1714449825&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.jaeyoung.wiki/kb:first_order_circuits?rev=1714449825&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.jaeyoung.wiki/kb:fisher_information?rev=1714449825&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.jaeyoung.wiki/kb:fourier_transform?rev=1714449825&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.jaeyoung.wiki/kb:fourier_transform_table?rev=1714449825&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.jaeyoung.wiki/kb:goodness_of_fit_test?rev=1714449825&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.jaeyoung.wiki/kb:hypothesis_testing?rev=1714449825&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.jaeyoung.wiki/kb:kolmogorov-lilliefors_test?rev=1714449825&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.jaeyoung.wiki/kb:kolmogorov-smirnov_test?rev=1714449825&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.jaeyoung.wiki/kb:laplace_transform?rev=1714449825&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.jaeyoung.wiki/kb:linear_regression?rev=1714449825&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.jaeyoung.wiki/kb:macos_proxmox?rev=1741334669&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.jaeyoung.wiki/kb:market_failures?rev=1714449825&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.jaeyoung.wiki/kb:microeconomics?rev=1714449825&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.jaeyoung.wiki/kb:minicom?rev=1714449825&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.jaeyoung.wiki/kb:mmse_estimator?rev=1714449825&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.jaeyoung.wiki/kb:motor?rev=1714449825&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.jaeyoung.wiki/kb:multidimensional_data?rev=1714449825&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.jaeyoung.wiki/kb:multivariate_linear_regression?rev=1714449825&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.jaeyoung.wiki/kb:nonparametric_hypothesis_testing?rev=1714449825&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.jaeyoung.wiki/kb:observer?rev=1714449825&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.jaeyoung.wiki/kb:operation_amplifier?rev=1714449825&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.jaeyoung.wiki/kb:power_spectral_density?rev=1714449825&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.jaeyoung.wiki/kb:principal_component_analysis?rev=1714449825&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.jaeyoung.wiki/kb:probabilistic_models?rev=1714449825&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.jaeyoung.wiki/kb:python_math_shell?rev=1714449825&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.jaeyoung.wiki/kb:qq_plots?rev=1714449825&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.jaeyoung.wiki/kb:qq_plots_matlab?rev=1714449825&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.jaeyoung.wiki/kb:random_processes?rev=1714449825&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.jaeyoung.wiki/kb:rectenna_design?rev=1714449825&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.jaeyoung.wiki/kb:region_of_convergence?rev=1714449825&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.jaeyoung.wiki/kb:robotics_kinematics?rev=1714449825&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.jaeyoung.wiki/kb:robotics_statics?rev=1714449825&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.jaeyoung.wiki/kb:sd?rev=1714449825&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.jaeyoung.wiki/kb:second_order_circuits_transient_response?rev=1714449825&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.jaeyoung.wiki/kb:signal_detection?rev=1714449825&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.jaeyoung.wiki/kb:signal_processing?rev=1714449825&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.jaeyoung.wiki/kb:start?rev=1714449825&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.jaeyoung.wiki/kb:state-space_model?rev=1714449825&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.jaeyoung.wiki/kb:stationarity?rev=1714449825&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.jaeyoung.wiki/kb:systemverilog?rev=1714449825&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.jaeyoung.wiki/kb:systemverilog_conditionals?rev=1714449825&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.jaeyoung.wiki/kb:systemverilog_loops?rev=1714449825&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.jaeyoung.wiki/kb:the_moon_is_a_harsh_mistress?rev=1714449825&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.jaeyoung.wiki/kb:time_averaging?rev=1714449825&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.jaeyoung.wiki/kb:transfer_function?rev=1714449825&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.jaeyoung.wiki/kb:transistor?rev=1714449825&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.jaeyoung.wiki/kb:transmission_line?rev=1714449825&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.jaeyoung.wiki/kb:trimming_videos_with_ffmpeg?rev=1714449825&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.jaeyoung.wiki/kb:uncorrelatedness_independence?rev=1714449825&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.jaeyoung.wiki/kb:utility?rev=1714449825&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.jaeyoung.wiki/kb:vector_picture?rev=1714449825&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.jaeyoung.wiki/kb:wiener_filtering?rev=1714449825&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.jaeyoung.wiki/kb:wss_processes_lti_systems?rev=1714449825&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.jaeyoung.wiki/kb:z-transform?rev=1714449825&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.jaeyoung.wiki/kb:zir?rev=1714449825&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://www.jaeyoung.wiki/_media/wiki:dokuwiki.svg">
        <title>Jaeyoung Wiki</title>
        <link>https://www.jaeyoung.wiki/</link>
        <url>https://www.jaeyoung.wiki/_media/wiki:dokuwiki.svg</url>
    </image>
    <item rdf:about="https://www.jaeyoung.wiki/kb:8051_interrupts?rev=1714449825&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-30T04:03:45+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Interrupts on the 8051</title>
        <link>https://www.jaeyoung.wiki/kb:8051_interrupts?rev=1714449825&amp;do=diff</link>
        <description>Interrupts on the 8051</description>
    </item>
    <item rdf:about="https://www.jaeyoung.wiki/kb:8051_io?rev=1714449825&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-30T04:03:45+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>I/O on the 8051</title>
        <link>https://www.jaeyoung.wiki/kb:8051_io?rev=1714449825&amp;do=diff</link>
        <description>I/O on the 8051

The 8051 has 4 GPIO 8-bit ports.

Output

To write an output to a port, just move some data to that port's register.


mov P1, A ; Output the contents of the accumulator on port 1.


Individual bits of ports can also be set or cleared.</description>
    </item>
    <item rdf:about="https://www.jaeyoung.wiki/kb:8051_memory?rev=1714449825&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-30T04:03:45+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>8051 memory access</title>
        <link>https://www.jaeyoung.wiki/kb:8051_memory?rev=1714449825&amp;do=diff</link>
        <description>8051 memory access

While the 8051 has 4 kilobytes of built-in ROM (other variants may have 8 kilobytes or none at all), it is also capable of addressing 64 kilobytes of external code memory and 64 kilobytes of external data memory.

In the Harvard architecture, the code memory and data memory are separate, whereas they are combined into one block of memory in the von Neumann architecture.</description>
    </item>
    <item rdf:about="https://www.jaeyoung.wiki/kb:8051_microcontroller?rev=1714449825&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-30T04:03:45+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Intel 8051 microcontroller</title>
        <link>https://www.jaeyoung.wiki/kb:8051_microcontroller?rev=1714449825&amp;do=diff</link>
        <description>Intel 8051 microcontroller

The Intel MCS-51, also known as the 8051, is an 8-bit microcontroller developed in 1980 by Intel.

Derivatives of the 8051 are still widely used today.

Features

	*  Capable of addressing 64 kilobits of program memory and 64 kilobits of data memory</description>
    </item>
    <item rdf:about="https://www.jaeyoung.wiki/kb:8051_uart?rev=1714449825&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-30T04:03:45+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>UART on the 8051</title>
        <link>https://www.jaeyoung.wiki/kb:8051_uart?rev=1714449825&amp;do=diff</link>
        <description>UART on the 8051

Configuration

In order to configure the following registers must be initialized:

SCON (Serial port control register)

Configuration: 01010000

	*  SM0, SM1: 01
		*  Mode 1 (8-bit UART)

	*  SM2: 0
		*  Disable multiprocessor communication (modes 2/3 only)$$ TH1 = 256 - \frac{K(f_{OSC})}{384f_{BAUD}} $$$f_{BAUD}=9600$$K=1$$f_{OSC}=11.0592MHz$$TH1=253$</description>
    </item>
    <item rdf:about="https://www.jaeyoung.wiki/kb:analog_electronics?rev=1714449825&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-30T04:03:45+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Analog electronics</title>
        <link>https://www.jaeyoung.wiki/kb:analog_electronics?rev=1714449825&amp;do=diff</link>
        <description>Analog electronics

	*  Operation amplifier
	*  Transistor
	*  amplifier
	*  analog_filter
	*  Transfer function
	*  Comparator
	*  First-order circuits
	*  Transient response of second-order circuits
	*  Time-averaging circuit variables
	*  sinusoidal_steady_state</description>
    </item>
    <item rdf:about="https://www.jaeyoung.wiki/kb:antenna_design?rev=1714449825&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-30T04:03:45+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Antenna design</title>
        <link>https://www.jaeyoung.wiki/kb:antenna_design?rev=1714449825&amp;do=diff</link>
        <description>Antenna design

The important parameters in antenna design are:

	*  Gain/directivity
	*  Frequency
	*  Bandwidth
	*  Efficiency
	*  Radiation resistance ($Z_{antenna}$)

Efficiency

The losses in an antenna can be modeled as a series resistance with the radiation resistance. The sources of losses are:$\frac{\lambda}{2}$</description>
    </item>
    <item rdf:about="https://www.jaeyoung.wiki/kb:bayesian_statistics?rev=1714449825&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-30T04:03:45+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Bayesian statistics</title>
        <link>https://www.jaeyoung.wiki/kb:bayesian_statistics?rev=1714449825&amp;do=diff</link>
        <description>Bayesian statistics

The Bayesian influence is using a likelihood function $L_n(\theta)$ that is weighted by prior knowledge.

The Bayesian approach is using sample data to update prior beliefs, forming posterior beliefs. To do this, we model the parameter as a random variable, $\pi(\cdot)$$X_1, \ldots, X_n$$n$$L_n(\cdot | \theta)$$X_1, \ldots, X_n$$\theta$$\theta \sim \pi$$$\pi(\theta|X_1, \ldots, X_n) \propto L_n(X_1, \ldots, X_n|\theta) \pi(\theta)$$$$\pi(\theta|X_1, \ldots, X_n) = \frac{L_n(…</description>
    </item>
    <item rdf:about="https://www.jaeyoung.wiki/kb:bibo_stability?rev=1714449825&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-30T04:03:45+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>BIBO stability</title>
        <link>https://www.jaeyoung.wiki/kb:bibo_stability?rev=1714449825&amp;do=diff</link>
        <description>BIBO stability

A system is bounded-in bounded-out (BIBO) stable if a bounded input will result in a bounded output.

A system with unit sample response $h[n]$ will be BIBO stable if and only if $h[n]$ is absolutely summable. That is:

$$ \sum_{n=-\infty}^{\infty} |h[n]| &lt; \infty $$

A BIBO stable system is guaranteed to have a $$ |H(j\omega)| = |\int_{-\infty}^{\infty} h(t) e^{-j\omega t} dt| \leq \int_{-\infty}^{\infty} |h(t)| dt &lt; \infty $$</description>
    </item>
    <item rdf:about="https://www.jaeyoung.wiki/kb:common_probability_distributions?rev=1714449825&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-30T04:03:45+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Common probability distributions</title>
        <link>https://www.jaeyoung.wiki/kb:common_probability_distributions?rev=1714449825&amp;do=diff</link>
        <description>Common probability distributions

Gaussian/Normal

	*  Continuous
	*  Parameters
		*  $\mu \in \mathbb{R}$ (mean)
		*  $\sigma^2 &gt; 0$ (variance)

	*  Support: $x \in \mathbb{R}$
	*  PDF: $\frac{1}{\sigma \sqrt{2\pi}}e^{-\frac{1}{2}(\frac{x-\mu}{\sigma})^2}$
	*  Mean/expectation: $\mu$
	*  Variance: $\sigma^2$

Calculating CDF

$P(X &lt; x)$ for $X \sim \mathcal{N}(mu, sigma)$


p = normcdf(x, mu, sigma)


Calculating inverse CDF or quantile
$\mathbb{P}(X \leq q) = 1 - alpha$$X \sim \mathcal{N}(mu, …</description>
    </item>
    <item rdf:about="https://www.jaeyoung.wiki/kb:comparator?rev=1714449825&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-30T04:03:45+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Comparator</title>
        <link>https://www.jaeyoung.wiki/kb:comparator?rev=1714449825&amp;do=diff</link>
        <description>Comparator

Comparators compare two voltages and output “high” or “low” based on which voltage is higher. A slightly modified version of the op-amp assumptions apply:



$$ i_+ = i_- = 0 $$
$$ v_+ &gt; v_- \to v_{OUT} = V_{DD} $$
$$ v_+ &lt; v_- \to v_{OUT} = V_{SS} $$

Note the following:

	*  The assumption $v_+ = v_-$ is no longer true because the circuit is not in negative feedback.$v_{OUT}$$V_{DD}$$V_{SS}$$v_{OUT} = V_{DD}$$v_{OUT} = V_{SS}$$v_+$$v_-$$$ v_+ = \frac{R_2}{R_1+R_2} v_{OUT} $$$$ v_- …</description>
    </item>
    <item rdf:about="https://www.jaeyoung.wiki/kb:computer_architecture?rev=1714449825&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-30T04:03:45+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Notes on computer architecture</title>
        <link>https://www.jaeyoung.wiki/kb:computer_architecture?rev=1714449825&amp;do=diff</link>
        <description>Notes on computer architecture

	*  Hazards
		*  Data hazards
			*  In a pipelined processor, an instruction may follow an instruction that changes the value of the register needed. However, the result may not get written to the register before it is accessed, which will lead to an incorrect out-of-date input for that instruction.</description>
    </item>
    <item rdf:about="https://www.jaeyoung.wiki/kb:confidence_interval?rev=1714449825&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-30T04:03:45+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Confidence interval</title>
        <link>https://www.jaeyoung.wiki/kb:confidence_interval?rev=1714449825&amp;do=diff</link>
        <description>Confidence interval

A $1-\alpha$ confidence interval is an interval $[\hat{\Theta}^-, \hat{\Theta}^+]$ such that

$$ \mathbb{P}^\theta(\hat{\Theta}^- \leq \theta \leq \hat{\Theta}^+) \geq 1 - \alpha $$

for all $\theta$.

In other words, there is a $1-\alpha$ probability that the generated confidence interval (random value based on sampling) captures the true value (deterministic).

Gaussian case
$$ \hat{\Theta} \sim \mathcal{N}(\theta, \mathrm{se}^2) \sim \mathcal{N}(\theta, \hat{\mathrm{se}}^…</description>
    </item>
    <item rdf:about="https://www.jaeyoung.wiki/kb:control_theory?rev=1714449825&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-30T04:03:45+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Control theory</title>
        <link>https://www.jaeyoung.wiki/kb:control_theory?rev=1714449825&amp;do=diff</link>
        <description>Control theory

	*  Transfer function
	*  Laplace transform
	*  Z-transform
	*  block_diagram
	*  black_s_formula
	*  bode_plot
	*  loop_stability
	*  nyquist_plot
	*  State-space model
	*  Observer</description>
    </item>
    <item rdf:about="https://www.jaeyoung.wiki/kb:convolution?rev=1714449825&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-30T04:03:45+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Convolution</title>
        <link>https://www.jaeyoung.wiki/kb:convolution?rev=1714449825&amp;do=diff</link>
        <description>Convolution

Not that convolution...

Definition

Discrete time convolution:

$$ (f \ast g)[n] \equiv \sum_{m = -\infty}^{\infty} f[m]g[n-m] $$

Continuous time convolution:

$$ (f \ast g)(t) \equiv \int_{-\infty}^{\infty} f(\tau)g(t - \tau) d\tau $$

Properties

	*  Convolution is commutative:

$$ f \ast g = g \ast f $$

	*  Convolution is associative:

$$ f \ast (g \ast h) = (f \ast g) \ast h $$

	*  Convolution is distributive over addition:

$$ (f + g) \ast x = f \ast x + g \ast x $$

Freque…</description>
    </item>
    <item rdf:about="https://www.jaeyoung.wiki/kb:crossvalidation?rev=1714449825&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-30T04:03:45+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Crossvalidation</title>
        <link>https://www.jaeyoung.wiki/kb:crossvalidation?rev=1714449825&amp;do=diff</link>
        <description>Crossvalidation

Crossvalidation is used to</description>
    </item>
    <item rdf:about="https://www.jaeyoung.wiki/kb:ct_dt_conversion?rev=1714449825&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-30T04:03:45+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Conversion between continuous-time and discrete-time signals</title>
        <link>https://www.jaeyoung.wiki/kb:ct_dt_conversion?rev=1714449825&amp;do=diff</link>
        <description>Conversion between continuous-time and discrete-time signals

Continuous-to-discrete transformation

Consider a bandlimited continuous-time signal $x_c(t)$: that is, it has no frequency content for $|\omega| \geq \omega_c$.

This signal can be converted to a discrete-time (DT) signal $x_d[n]$$x_c(t)$$T$$$ x_d[n] = x_c(nT) $$$$ n = \frac{t}{T} $$$$ \Omega = \omega T $$$\omega_c$$$ f_s = \frac{1}{T} \geq \frac{\omega_c}{\pi} = 2f_c $$$$ X_d(e^{j\Omega}) = \frac{X_c(j\omega)}{T} $$</description>
    </item>
    <item rdf:about="https://www.jaeyoung.wiki/kb:delta_method?rev=1714449825&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-30T04:03:45+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Delta method</title>
        <link>https://www.jaeyoung.wiki/kb:delta_method?rev=1714449825&amp;do=diff</link>
        <description>Delta method

The Delta method is used to calculate the asymptotic variance of a random variable that is a function of another random variable. The derivative of the function and the mean and asymptotic variance of the second RV are used.

Let $Z_n$ be a sequence of random variables such that$$\sqrt{n}(Z_n - \theta) \xrightarrow [n\to \infty ]{(d)} \mathcal{N}(0, \sigma^2)$$$\sigma^2$$\theta \in \mathbb{R}$$Z_n$$g: \mathbb{R} \to \mathbb{R}$$\theta$$g(Z_n) \xrightarrow [n\to \infty ]{(\textbf{P}…</description>
    </item>
    <item rdf:about="https://www.jaeyoung.wiki/kb:digital_electronics?rev=1714449825&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-30T04:03:45+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Digital electronics/computer engineering</title>
        <link>https://www.jaeyoung.wiki/kb:digital_electronics?rev=1714449825&amp;do=diff</link>
        <description>Digital electronics/computer engineering

	*  Transistor
	*  memory

	*  fpga

	*  Intel 8051 microcontroller

	*  Notes on computer architecture

SystemVerilog

	*  Basics of SystemVerilog
	*  Loops in SystemVerilog
	*  Conditionals in SystemVerilog
	*  nonsynthesizable_systemverilog</description>
    </item>
    <item rdf:about="https://www.jaeyoung.wiki/kb:driven_response?rev=1714449825&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-30T04:03:45+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Driven response</title>
        <link>https://www.jaeyoung.wiki/kb:driven_response?rev=1714449825&amp;do=diff</link>
        <description>Driven response

DT case

For a SISO LTI DT state-space system:

$$ \mathbf{q}[n+1] = \mathbf{A}\mathbf{q}[n] + \mathbf{b}x[n] $$
$$ y[n] = \mathbf{c}^T\mathbf{q}[n] + dx[n] $$

The state matrix $\mathbf{A}$ can be written as:

$$ \mathbf{A} = \mathbf{V}\mathbf{\Lambda}\mathbf{V}^{-1} $$

where

$$ \mathbf{V} = \begin{bmatrix} \mathbf{v}_1 | \mathbf{v}_2 | \dots | \mathbf{v}_L \end{bmatrix} $$

	*  $\mathbf{V}$ is a matrix whose columns are the eigenvectors of $\mathbf{A}$.

$$ \mathbf{\Lambda} …</description>
    </item>
    <item rdf:about="https://www.jaeyoung.wiki/kb:ee_applications?rev=1714449825&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-30T04:03:45+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Applications</title>
        <link>https://www.jaeyoung.wiki/kb:ee_applications?rev=1714449825&amp;do=diff</link>
        <description>Applications

	*  designing_a_pcb
	*  How to pick a microcontroller
	*  ESP32 information</description>
    </item>
    <item rdf:about="https://www.jaeyoung.wiki/kb:ee_references?rev=1714449825&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-30T04:03:45+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>References</title>
        <link>https://www.jaeyoung.wiki/kb:ee_references?rev=1714449825&amp;do=diff</link>
        <description>References

	*  Table of Fourier transforms
	*  laplace_transform_table</description>
    </item>
    <item rdf:about="https://www.jaeyoung.wiki/kb:electromagnetics?rev=1714449825&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-30T04:03:45+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Electromagnetics and RF</title>
        <link>https://www.jaeyoung.wiki/kb:electromagnetics?rev=1714449825&amp;do=diff</link>
        <description>Electromagnetics and RF

	*  impedance_matching
	*  Transmission lines
	*  Rectenna design
	*  Antenna design</description>
    </item>
    <item rdf:about="https://www.jaeyoung.wiki/kb:energy_spectral_density?rev=1714449825&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-30T04:03:45+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Energy spectral density</title>
        <link>https://www.jaeyoung.wiki/kb:energy_spectral_density?rev=1714449825&amp;do=diff</link>
        <description>Energy spectral density

Definition of inner/dot product:

$$ &lt;x,v&gt; = \sum_{k = -\infty}^{\infty} x[k]v[k] $$

We can then calculate the dot product of a signal and a time-shifted signal. Let's call that dot product, which is a function of $n$, $p[n]$.

$$ p[n] = \sum_{k = -\infty}^{\infty} x[k]v[k-n] $$

This formula can be rewritten as a convolution by defining a new function $\overleftarrow{v}[n] \equiv v[-n]$$v[n]$$$ p[n] = \sum_{k = -\infty}^{\infty} x[k]\overleftarrow{v}[n-k] = (x \ast \ov…</description>
    </item>
    <item rdf:about="https://www.jaeyoung.wiki/kb:equity_economics?rev=1714449825&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-30T04:03:45+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Equity (economics)</title>
        <link>https://www.jaeyoung.wiki/kb:equity_economics?rev=1714449825&amp;do=diff</link>
        <description>Equity (economics)

Equity is an economics term used to describe fairness.</description>
    </item>
    <item rdf:about="https://www.jaeyoung.wiki/kb:ergodicity?rev=1714449825&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-30T04:03:45+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Ergodicity</title>
        <link>https://www.jaeyoung.wiki/kb:ergodicity?rev=1714449825&amp;do=diff</link>
        <description>Ergodicity

For an ergodic random process, the time average of each of its instances equals the ensemble mean of the process.

A process is ergodic if its autocovariance goes to zero as $n$ or $t$ goes to $\pm \infty$. Alternatively, it is ergodic if the fluctuation spectral density has no impulse at zero frequency.</description>
    </item>
    <item rdf:about="https://www.jaeyoung.wiki/kb:esp32_info?rev=1714449825&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-30T04:03:45+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>ESP32 information</title>
        <link>https://www.jaeyoung.wiki/kb:esp32_info?rev=1714449825&amp;do=diff</link>
        <description>ESP32 information

&lt;https://randomnerdtutorials.com/esp32-pinout-reference-gpios/&gt;

&lt;https://components101.com/microcontrollers/esp32-devkitc&gt;</description>
    </item>
    <item rdf:about="https://www.jaeyoung.wiki/kb:estimation_methods?rev=1714449825&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-30T04:03:45+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Methods of estimation</title>
        <link>https://www.jaeyoung.wiki/kb:estimation_methods?rev=1714449825&amp;do=diff</link>
        <description>Methods of estimation

Given some data, we may want to estimate the parameter(s) of the true probability distribution they come from. There are three methods: plugin, feature matching, and maximum likelihood.

Plugin estimator

For the plugin estimator, simply plug in the data, weighting each data point by its associated probability.$$ \mu = \mathbb{E}[X] $$$$ \hat{M} = \frac{1}{n} \sum_{i=1}^{n} X_i = \hat{\mathbb{E}}[X] $$$$ v = \mathbb{E}\left[\left(X - \mathbb{E}[X] \right)^2 \right] $$$$ \h…</description>
    </item>
    <item rdf:about="https://www.jaeyoung.wiki/kb:estimator_distribution?rev=1714449825&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-30T04:03:45+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Sampling distribution of estimator</title>
        <link>https://www.jaeyoung.wiki/kb:estimator_distribution?rev=1714449825&amp;do=diff</link>
        <description>Sampling distribution of estimator

The estimator for a parameter based on a sample could be different from the true value of the parameter, depending on what the sample is. We can estimate the sampling distribution for the estimator in order to predict how good the estimator is.$\hat{\Theta} - \theta$$b^\theta = \mathbb{E}^\theta[\hat{\Theta} - \theta] $$v^\theta = \mathbb{E} \left[ (\hat{\Theta} - \mathbb{E}^\theta[\hat{\Theta}])^2 \right]$$\mathrm{se}^\theta = \sqrt{v^\theta}$$\mathrm{MSE}^\t…</description>
    </item>
    <item rdf:about="https://www.jaeyoung.wiki/kb:etc_sudoers?rev=1714449825&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-30T04:03:45+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>/etc/sudoers files</title>
        <link>https://www.jaeyoung.wiki/kb:etc_sudoers?rev=1714449825&amp;do=diff</link>
        <description>/etc/sudoers files

/etc/sudoers controls who can use the sudo command and how it is used.

Whenever editing /etc/sudoers, the visudo command, which verifies the file before writing, should be used in order to prevent a situation where access to sudo</description>
    </item>
    <item rdf:about="https://www.jaeyoung.wiki/kb:first_order_circuits?rev=1714449825&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-30T04:03:45+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>First-order circuits</title>
        <link>https://www.jaeyoung.wiki/kb:first_order_circuits?rev=1714449825&amp;do=diff</link>
        <description>First-order circuits

First-order circuits are circuits that, when all independent sources are turned off, can be simplified to either a circuit with a single resistor and a single capacitor or inductor.

These are all examples of first-order circuits.$ i_C = C \frac{dv_C}{dt} $$ v_C(0^+) = v_C(0^-) $$v_C(0^-) = 0$$ i_C(\infty) = 0 $$ \tau = RC $$ v_L = L \frac{di_L}{dt} $$ i_L(0^+) = i_L(0^-) $$i_L(0^-) = 0$$ v_L(\infty) = 0 $$ \tau = L / R $$\tau$$$ X(t) = X(0^+) e^{-t/\tau} + X(\infty) \left(…</description>
    </item>
    <item rdf:about="https://www.jaeyoung.wiki/kb:fisher_information?rev=1714449825&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-30T04:03:45+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Fisher information</title>
        <link>https://www.jaeyoung.wiki/kb:fisher_information?rev=1714449825&amp;do=diff</link>
        <description>Fisher information

The Fisher information roughly describes how much information a random variable gives about an unknown parameter of its distribution. It is defined as:

$$I(\theta) = {\rm Var}[\ell'(\theta)] = -\mathbb{E}[\ell''(\theta)]$$

From the Fisher information, we can derive the asymptotic variance of the parameter.$$\sqrt{n}(\hat{\theta}_n^{MLE} - \theta^*) \xrightarrow[n \to \infty]{(d)} \mathcal{N}(0, \frac{1}{I(\theta^*)})$$$\theta^*$$\hat{\theta}_n^{MLE}$</description>
    </item>
    <item rdf:about="https://www.jaeyoung.wiki/kb:fourier_transform?rev=1714449825&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-30T04:03:45+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Fourier transform</title>
        <link>https://www.jaeyoung.wiki/kb:fourier_transform?rev=1714449825&amp;do=diff</link>
        <description>Fourier transform

Discrete-time Fourier transform

$$ x[n] \leftrightarrow X(e^{j\Omega}) $$

$$ X(e^{j\Omega}) = \sum_{k = -\infty}^{\infty} x[k] e^{-j\Omega k} $$

$$ x[n] = \frac{1}{2\pi} \int_{-\pi}^{\pi} X(e^{j\Omega}) e^{j\Omega n} d\Omega $$

Continuous-time Fourier transform

$$ x(t) \leftrightarrow X(j\omega) $$

$$ X(j\omega) = \int_{-\infty}^{\infty} x(t)e^{-j\omega t} dt $$

$$ x(t) = \frac{1}{2\pi} \int_{-\infty}^{\infty} X(j\omega) e^{j\omega t} d\omega $$

Properties of Fourier t…</description>
    </item>
    <item rdf:about="https://www.jaeyoung.wiki/kb:fourier_transform_table?rev=1714449825&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-30T04:03:45+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Table of Fourier transforms</title>
        <link>https://www.jaeyoung.wiki/kb:fourier_transform_table?rev=1714449825&amp;do=diff</link>
        <description>Table of Fourier transforms

CTFT

$$ x(t) \leftrightarrow X(j\omega) $$
 $x(t)$ (CT signal)  $X(j\omega)$ (CTFT)  $\delta(t)$  $1$  $\delta(t - t_0)$  $e^{-j\omega t_0}$  $1$  $2\pi \delta(\omega)$  $e^{j\omega_0 t}$  $2\pi \delta(\omega - \omega_0)$  $e^{-at}u(t), \mathrm{Re}\{a\} &gt; 0$  $\frac{1}{\alpha + j\omega}$  $u(t)$  $\frac{1}{j\omega} + \pi \delta(\omega)$  $\frac{\sin \omega_c t}{\pi t}$  $\left\{ \begin{array}{ll} 1, &amp; -\omega_c &lt; \omega &lt; \omega_c \\ 0, &amp; \mathrm{otherwise} \end{arr…</description>
    </item>
    <item rdf:about="https://www.jaeyoung.wiki/kb:goodness_of_fit_test?rev=1714449825&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-30T04:03:45+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Goodness of fit test</title>
        <link>https://www.jaeyoung.wiki/kb:goodness_of_fit_test?rev=1714449825&amp;do=diff</link>
        <description>Goodness of fit test

Let $X$ be a random variable. Given i.i.d. copies of $X$, the goodness of fit test determines whether $X$ has a certain distribution (e.g. normal, uniform, Student's T).

Multinomial distribution

The multinomial distribution is a generalization of the binomial distribution. A multinomial distribution with $K$$K$$K = 2$$n'$$p_i$$i$$\sum_{i=1}^Kp_i$$\textbf{p} = [p_1 \ p_2 \ \ldots \ p_K]^T$$\textbf{N} \in \mathbb{Z}$$N^{(i)}$$i$$\textbf{n}$$\sum_{i=1}^{K}n^{(i)}=n', n^{(i)}…</description>
    </item>
    <item rdf:about="https://www.jaeyoung.wiki/kb:hypothesis_testing?rev=1714449825&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-30T04:03:45+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Hypothesis testing</title>
        <link>https://www.jaeyoung.wiki/kb:hypothesis_testing?rev=1714449825&amp;do=diff</link>
        <description>Hypothesis testing

Hypothesis testing involves deducing the quantity of a hypothesis $H$, which takes on one of the values $H_0, H_1, \dots$ from a measurement $R=r$.

Maximum a posteriori rule

We can do this by making the decision that minimizes the probability of error *conditional* on the measurement $R = r$$P(H_1|R = r) &gt; P(H_0|R = r)$$H = H_1$$H = H_0$$R = r$$'H_1'$$P(H_1|R = r) &lt; P(H_0|R = r)$$H = H_1$$H = H_0$$R = r$$'H_0'$$$ P(\mathrm{error}|R = r) = \min\{1 - P(H_0|R = r), 1 - P(H_1|R…</description>
    </item>
    <item rdf:about="https://www.jaeyoung.wiki/kb:kolmogorov-lilliefors_test?rev=1714449825&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-30T04:03:45+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Kolmogorov-Lilliefors test</title>
        <link>https://www.jaeyoung.wiki/kb:kolmogorov-lilliefors_test?rev=1714449825&amp;do=diff</link>
        <description>Kolmogorov-Lilliefors test

The Kolmogorov-Lilliefors Test tests if a random variable follows a certain family of distributions (e.g. Gaussian). Donsker's theorem is no longer valid, which means that Kolmogorov-Smirnov values will no longer work. We also cannot plug in estimators from the data into the potential distribution that we are testing against, because that would result in conclusions that are too conservative.$X_1, \ldots, X_n$$F$$\hat{F^0}$$\hat{F^0}$$\mu$$\sigma^2$$X_i$$\hat{\mu}$$\h…</description>
    </item>
    <item rdf:about="https://www.jaeyoung.wiki/kb:kolmogorov-smirnov_test?rev=1714449825&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-30T04:03:45+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Kolmogorov-Smirnov test</title>
        <link>https://www.jaeyoung.wiki/kb:kolmogorov-smirnov_test?rev=1714449825&amp;do=diff</link>
        <description>Kolmogorov-Smirnov test

The Kolmogorov-Smirnov test is used to test if an empirical_cumulative_distribution follows a particular distribution.

Glivenko-Cantelli Theorem (Fundamental theorem of statistics)

Let $F(t)$ be the true CDF of $X_1, \ldots, X_n  \stackrel{iid}{\sim} X$. Let $F_n(t)$ be the empirical cdf of $X_1, \ldots, X_n$. Then,

$$\sup_{t\in \mathbb{R}}|F_n(t)-F(t)|\xrightarrow[n\rightarrow\infty]{a.s.}0$$

This tells us that as the number of samples increases, the empirical and t…</description>
    </item>
    <item rdf:about="https://www.jaeyoung.wiki/kb:laplace_transform?rev=1714449825&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-30T04:03:45+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Laplace transform</title>
        <link>https://www.jaeyoung.wiki/kb:laplace_transform?rev=1714449825&amp;do=diff</link>
        <description>Laplace transform

Laplace transforms turn time-domain functions, where $t$ is the variable (time), into frequency-domain functions, where $s$ is the variable (complex frequency).

Formal definition

$$F(s) = \int_{0}^{\infty} f(t)e^{-st} dt$$

Inverse Laplace transform

Similar to the Z-transform, we usually calculate the inverse Laplace transform by reorganizing the Laplace representation into a form we recognize with partial fractions and then pattern matching. Again, the time-domain represen…</description>
    </item>
    <item rdf:about="https://www.jaeyoung.wiki/kb:linear_regression?rev=1714449825&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-30T04:03:45+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Linear regression</title>
        <link>https://www.jaeyoung.wiki/kb:linear_regression?rev=1714449825&amp;do=diff</link>
        <description>Linear regression

Single-variable linear regression

Given two random variables X and Y, we can use regression to predict Y from X and estimate the error bars around the prediction.

Assume that $(X_i, Y_i), i = 1, \ldots, n$ are i.i.d. from some unknown joint distribution $\mathbb{P}.$

$\mathbb{P}$ can be described by one of the following:$h(x,y)$$X$$h(x) = \int h(x,y) dy$$h(y|x) = \frac{h(x,y)}{h(x)}$$h(y|x)$$Y$$X$$Y$$X=x$$\mathbb{E}[Y|X=x] = \int_{-\infty}^{\infty}yh(y|x)dy$$Y$$X=x$$\int_{-…</description>
    </item>
    <item rdf:about="https://www.jaeyoung.wiki/kb:macos_proxmox?rev=1741334669&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-03-07T08:04:29+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Running MacOS in Proxmox</title>
        <link>https://www.jaeyoung.wiki/kb:macos_proxmox?rev=1741334669&amp;do=diff</link>
        <description>Running MacOS in Proxmox

Follow the steps here: &lt;https://www.nicksherlock.com/2022/10/installing-macos-13-ventura-on-proxmox/&gt;

To pass through an RX 6600:

	*  Add PCI passthrough (must be raw device, not mapped)
	*  Disable “Above 4G decoding” and “Resizeable BAR” in host BIOS
	*  Add “agdpmod=pikera” as a boot argument in OpenCore</description>
    </item>
    <item rdf:about="https://www.jaeyoung.wiki/kb:market_failures?rev=1714449825&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-30T04:03:45+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Market failures</title>
        <link>https://www.jaeyoung.wiki/kb:market_failures?rev=1714449825&amp;do=diff</link>
        <description>Market failures

Market failures are nonidealities in markets that cause them to behave differently from models. Some examples are:

	*  Possibility of fraud
	*  Imperfection information
	*  Externalities</description>
    </item>
    <item rdf:about="https://www.jaeyoung.wiki/kb:microeconomics?rev=1714449825&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-30T04:03:45+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Microeconomics</title>
        <link>https://www.jaeyoung.wiki/kb:microeconomics?rev=1714449825&amp;do=diff</link>
        <description>Microeconomics

Microeconomics is the study of how individuals and firms make decisions in a world of scarcity. It is a series of constrained optimizations.

Individuals and firms try to maximize how well off they are given some constraints. In order to maximize this, they have to deal with tradeoffs, which are driven by opportunity costs. An opportunity cost is the cost of every action (or inaction), which is some other action that could have been performed instead. Every action that can be per…</description>
    </item>
    <item rdf:about="https://www.jaeyoung.wiki/kb:minicom?rev=1714449825&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-30T04:03:45+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Minicom</title>
        <link>https://www.jaeyoung.wiki/kb:minicom?rev=1714449825&amp;do=diff</link>
        <description>Minicom

Minicom is a TUI program used, among other things, for serial communications.</description>
    </item>
    <item rdf:about="https://www.jaeyoung.wiki/kb:mmse_estimator?rev=1714449825&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-30T04:03:45+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Minimum mean square error (MMSE) estimator</title>
        <link>https://www.jaeyoung.wiki/kb:mmse_estimator?rev=1714449825&amp;do=diff</link>
        <description>Minimum mean square error (MMSE) estimator

Consider two random variables $X$ and $Y$ with a joint pdf $f_{X,Y}(x,y)$.

Let's say we want an estimator for $Y$ given $X = x_0$ that minimizes the mean squared error:

$$ \mathrm{min} E[(Y-\hat{y})^2|X = x_0] $$

This is satisfied by the choosing $\hat{y}$ to be the conditional expectation of $Y$$$ \hat{y} = E[Y|X=x_0] $$$X$$\hat{Y}$$$ \hat{Y} = E[Y|X] $$$\hat{y}_l(x) = ax + b$$$ \underset{a, b}{\min} E[(Y - \hat{y}_l (X))^2] $$$b$$$ b = \mu_Y - a\m…</description>
    </item>
    <item rdf:about="https://www.jaeyoung.wiki/kb:motor?rev=1714449825&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-30T04:03:45+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Motor</title>
        <link>https://www.jaeyoung.wiki/kb:motor?rev=1714449825&amp;do=diff</link>
        <description>Motor

DC motor model

$$ u = Ri + L \frac{di}{dt} + E $$

$$ i = \frac{1}{K_t} \tau_m $$
$$ E = K_t \omega_m $$

Where:

	*  $u$ is the voltage applied to the armature of the motor. $[V]$
	*  $R$ is the armature resistance. $[\Omega]$
	*  $E$ is the back EMF. $[V]$
	*  $K_t$ is the torque constant. $[Nm/A]$ or $[Vs]$ 
	*  $\omega_m$ is the angular velocity of the motor. $[\mathrm{rad/s}]$
	*  $\tau_m$ is the motor torque. $[Nm]$$$ \frac{K_t}{R} u = \tau_m + T_e \frac{d\tau_m}{dt} + \frac{K_t^2}…</description>
    </item>
    <item rdf:about="https://www.jaeyoung.wiki/kb:multidimensional_data?rev=1714449825&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-30T04:03:45+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Multidimensional data</title>
        <link>https://www.jaeyoung.wiki/kb:multidimensional_data?rev=1714449825&amp;do=diff</link>
        <description>Multidimensional data</description>
    </item>
    <item rdf:about="https://www.jaeyoung.wiki/kb:multivariate_linear_regression?rev=1714449825&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-30T04:03:45+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Multivariate linear regression</title>
        <link>https://www.jaeyoung.wiki/kb:multivariate_linear_regression?rev=1714449825&amp;do=diff</link>
        <description>Multivariate linear regression

Setup

$$\textbf{Y}_i = \textbf{X}_i^T \boldsymbol \beta^* + \varepsilon_i, i = 1, \ldots, n$$

where 

	*  $\textbf{X}_i$ is the vector of explanatory variables or covariates
	*  $\textbf{Y}_i$ is the response/dependent variable
	*  $\boldsymbol \beta^* = (a^*, \textbf{b}^T)^T$ ($\beta_1^*$ is the intercept)
	*  $\varepsilon_{i=1, \ldots, n}$: noise terms

Then, the least squares estimator (LSE) of $\hat{\boldsymbol \beta}$ is the minimizer of the sum of errors s…</description>
    </item>
    <item rdf:about="https://www.jaeyoung.wiki/kb:nonparametric_hypothesis_testing?rev=1714449825&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-30T04:03:45+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Nonparametric hypothesis testing</title>
        <link>https://www.jaeyoung.wiki/kb:nonparametric_hypothesis_testing?rev=1714449825&amp;do=diff</link>
        <description>Nonparametric hypothesis testing

Goodness of fit test</description>
    </item>
    <item rdf:about="https://www.jaeyoung.wiki/kb:observer?rev=1714449825&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-30T04:03:45+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Observer</title>
        <link>https://www.jaeyoung.wiki/kb:observer?rev=1714449825&amp;do=diff</link>
        <description>Observer

Motivation

In general, we can't know the values of states $\mathbf{q}$ of a state-space system. We only have access to the input $x$ and output $y$. Observers are used to estimate the values of states $q$ based on the input and output.

A realistic state-space model of a system includes some extra terms:$$ \mathbf{q}[n+1] = \mathbf{A}\mathbf{q}[n] + \mathbf{b}x[n] + \mathbf{w}[n] $$$$ y[n] = \mathbf{c}^T\mathbf{q}[n] + dx[n] + \zeta[n] $$$\mathbf{w}$$\zeta$$$ \hat{\mathbf{q}}[n+1] = \…</description>
    </item>
    <item rdf:about="https://www.jaeyoung.wiki/kb:operation_amplifier?rev=1714449825&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-30T04:03:45+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Operation amplifier</title>
        <link>https://www.jaeyoung.wiki/kb:operation_amplifier?rev=1714449825&amp;do=diff</link>
        <description>Operation amplifier

An operational amplifier, or op-amp for short, is a circuit with a variety of uses in analog and digital electronics.

Op-amp models

Ideal

The ideal model of an op-amp assumes that the output voltage is proportional to the difference in voltage between the two input nodes, and that it responds instantly to changes in input voltages. Additionally, the input resistance is infinite (no current flows into or out of the input terminals) and the output resistance is zero (ideal …</description>
    </item>
    <item rdf:about="https://www.jaeyoung.wiki/kb:power_spectral_density?rev=1714449825&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-30T04:03:45+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Power spectral density</title>
        <link>https://www.jaeyoung.wiki/kb:power_spectral_density?rev=1714449825&amp;do=diff</link>
        <description>Power spectral density

The power spectral density $S_{xx}$ is the Fourier transform of the autocorrelation $R_{xx}$ of a wide-sense stationary process $x$.

For CT process $x(t)$:

$$ S_{xx}(j\omega) \leftrightarrow R_{xx}(\tau) $$

For DT process $x[n]$:

$$ S_{xx}(e^{j\Omega}) \leftrightarrow R_{xx}[m] $$

Instantaneous power

Instantaneous power is defined:

$$ x^2(t) $$

The expectation of instant power is the autocorrelation with zero time shift:$$ E[x^2(t)] = R_{xx}(0) $$$$ E[x^2(t)] = R_…</description>
    </item>
    <item rdf:about="https://www.jaeyoung.wiki/kb:principal_component_analysis?rev=1714449825&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-30T04:03:45+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Principal component analysis</title>
        <link>https://www.jaeyoung.wiki/kb:principal_component_analysis?rev=1714449825&amp;do=diff</link>
        <description>Principal component analysis

Principal component analysis is essentially boiling down multidimensional data with a lot of dimensions (aka columns) into a few dimensions while keeping most of the information.

Given $n$ $m$-dimensional vectors, steps to find the top $k$$\bar{x} = \frac{1}{n} \sum_{i=1}^n x_i $$m \times m$$S = \frac{1}{n}\sum_{i=1}^n (x_i - \bar{x})(x_i - \bar{x})^T $$m$$k$$S$$v_1, \ldots v_k$$\lambda_1, \ldots, \lambda_k$$k$$x_i$$\hat{x}_i = (x_i^Tv_1, \ldots x_i^Tv_k)$$$ \min \…</description>
    </item>
    <item rdf:about="https://www.jaeyoung.wiki/kb:probabilistic_models?rev=1714449825&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-30T04:03:45+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Probabilistic models</title>
        <link>https://www.jaeyoung.wiki/kb:probabilistic_models?rev=1714449825&amp;do=diff</link>
        <description>Probabilistic models

Let $A$ and $B$ be some event in the sample space $\Psi$.

	*  $P(\Psi) = 1$
	*  $P(A) \geq 0$ - probability is nonnegative
	*  $P(A \cup B) = P(A) + P(B)$ if $A$ and $B$ are mutually exclusive

Conditional probability

$$P(A|B) = \frac{P(A \cap B)}{P(B)} = \frac{P(AB)}{P(B)} = P(B|A)P(A)$$

Bayes' theorem

$$ P(B|A) = \frac{P(A|B)P(B)}{P(A)} $$

Independence

$A$ and $B$ are independent if:

$$ P(A|B) = P(A) $$

$$ P(AB) = P(A)P(B) $$

Which means that knowing $B$$A$$$ f_X…</description>
    </item>
    <item rdf:about="https://www.jaeyoung.wiki/kb:python_math_shell?rev=1714449825&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-30T04:03:45+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Using Python as a math shell</title>
        <link>https://www.jaeyoung.wiki/kb:python_math_shell?rev=1714449825&amp;do=diff</link>
        <description>Using Python as a math shell

Python can be used as a MATLAB-like shell for math and stuff.

The following components are needed (in order of decreasing importance):

	*  IPython
	*  NumPy
	*  Matplotlib
	*  SciPy
	*  SymPy

IPython makes the Python shell behave more like tools such as MATLAB.</description>
    </item>
    <item rdf:about="https://www.jaeyoung.wiki/kb:qq_plots?rev=1714449825&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-30T04:03:45+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>QQ plots</title>
        <link>https://www.jaeyoung.wiki/kb:qq_plots?rev=1714449825&amp;do=diff</link>
        <description>QQ plots

A quantile-quantile plot, or QQ plot, is a visual goodness-of-fit test. It checks if two distributions $F$ (distribution we're testing against) and $F_n$ (empirical distribution) are close. This is done by plotting $F^{-1}$ on the x-axis against $F_n^{-1}$ on the y-axis. If the points are close to the line $y=x$$X_i$$X_i$$i$$$(F^{-1}(\frac{1}{n}),X_{(1)}), (F^{-1}(\frac{2}{n}),X_{(2)}), \ldots , (F^{-1}(\frac{i}{n}),X_{(i)}), \ldots , (F^{-1}(\frac{n-1}{n}),X_{(n-1)})$$$(F^{-1}(\frac{n…</description>
    </item>
    <item rdf:about="https://www.jaeyoung.wiki/kb:qq_plots_matlab?rev=1714449825&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-30T04:03:45+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title></title>
        <link>https://www.jaeyoung.wiki/kb:qq_plots_matlab?rev=1714449825&amp;do=diff</link>
        <description>%% Heavy tails (t3)

nu = ones(1,100) * 3;

r = trnd(nu);

x = -5:0.01:5;

figure; hold on;
plot(x, tpdf(x, 3));
plot(x, normpdf(x));

legend(&quot;t_3&quot;, &quot;N(0,1)&quot;);

figure;

qqplot(r);

%% Light tails (unif [0,1])

r = 2 .* rand(1,100) - 1;

figure; hold on;
plot(x, unifpdf(x, -1, 1));
plot(x, normpdf(x));

legend(&quot;Unif([-1,1])&quot;, &quot;N(0,1)&quot;);

figure;

qqplot(r);

%% Right skewed (Exp(1))

mu = ones(1,100);

r = exprnd(mu);

figure; hold on;
plot(x, exppdf(x, 1));
plot(x, normpdf(x));

legend(&quot;Exp(1)&quot;…</description>
    </item>
    <item rdf:about="https://www.jaeyoung.wiki/kb:random_processes?rev=1714449825&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-30T04:03:45+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Random processes</title>
        <link>https://www.jaeyoung.wiki/kb:random_processes?rev=1714449825&amp;do=diff</link>
        <description>Random processes

Properties of random processes

	*  Expected value of signal at time $t$:

$$ \mu_X(t) = E[X(t)] $$

	*  Autocorrelation of signal at times $t_1$ and $t_2$:

$$ R_{XX}(t_1, t_2) = E[X(t_1)X(t_2)] $$

	*  Autocovariance of signal at times $t_1$ and $t_2$:

$$ C_{XX}(t_1, t_2) = E[\tilde{X}(t_1)\tilde{X}(t_2)] = R_{XX}(t_1, t_2) - \mu_X(t_1)\mu_X(t_2) $$

where $\tilde{X}(t) = X(t) - \mu_X(t)$

Properties of two random processes

	*  Cross-correlation of $X(t_1)$$$ R_{XY}(t_1, t_…</description>
    </item>
    <item rdf:about="https://www.jaeyoung.wiki/kb:rectenna_design?rev=1714449825&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-30T04:03:45+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Rectenna design</title>
        <link>https://www.jaeyoung.wiki/kb:rectenna_design?rev=1714449825&amp;do=diff</link>
        <description>Rectenna design

Overall system

The components in a rectenna system are:

	*  Antenna
	*  Matching network
	*  Rectifier

The antenna receives the power from RF signals. The rectifier turns the incoming AC voltage into a useful DC voltage. The magnitude of the AC voltage input into the rectifier should be as large as possible in order to maximize the time in which the voltage is greater than the turn-on voltage of the diode. In order to accomplish this, the input impedance of the rectifier shou…</description>
    </item>
    <item rdf:about="https://www.jaeyoung.wiki/kb:region_of_convergence?rev=1714449825&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-30T04:03:45+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Region of convergence</title>
        <link>https://www.jaeyoung.wiki/kb:region_of_convergence?rev=1714449825&amp;do=diff</link>
        <description>Region of convergence

RoC in the Z domain

The region of convergence (RoC) is defined as the set of $z$ for which the z-transform (and by extension, its infinite series representation) of the signal converges/exists.

The ROC cannot include a pole, so any possible regions of convergence exclude the circles $|z| = |p|$$p$$z$$h[n]=0$$n &lt; 0$$z=0$$|z| = 1$$\operatorname{Re}(s) = \operatorname{Re}(p)$$p$$\operatorname{Re}(s) = 0$</description>
    </item>
    <item rdf:about="https://www.jaeyoung.wiki/kb:robotics_kinematics?rev=1714449825&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-30T04:03:45+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Kinematics (robotics)</title>
        <link>https://www.jaeyoung.wiki/kb:robotics_kinematics?rev=1714449825&amp;do=diff</link>
        <description>Kinematics (robotics)

Forward kinematics

Jacobian

The Jacobian matrix consists of the partial derivatives of the end-effector position with respect to joint angles/lengths.

2D case with 2 revolute joints:

$$ \mathbf{J} = \begin{bmatrix} \frac{\partial x_e}{\partial \theta_1} &amp; \frac{\partial x_e}{\partial \theta_2} \\ \frac{\partial y_e}{\partial \theta_1} &amp; \frac{\partial y_e}{\partial \theta_2} \end{bmatrix} $$

This can be used to convert joint speeds into end-effector velocity:$$ \begin…</description>
    </item>
    <item rdf:about="https://www.jaeyoung.wiki/kb:robotics_statics?rev=1714449825&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-30T04:03:45+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Statics (Robotics)</title>
        <link>https://www.jaeyoung.wiki/kb:robotics_statics?rev=1714449825&amp;do=diff</link>
        <description>Statics (Robotics)

Converting end-effector force to joint torques/forces

Just multiply the forces by the transpose of the kinematics Jacobian matrix.

$$ \mathbf{\tau} = \mathbf{J}^T \mathbf{F} $$</description>
    </item>
    <item rdf:about="https://www.jaeyoung.wiki/kb:sd?rev=1714449825&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-30T04:03:45+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Supply-demand model</title>
        <link>https://www.jaeyoung.wiki/kb:sd?rev=1714449825&amp;do=diff</link>
        <description>Supply-demand model

The demand curve shows how much of a good people are willing to buy at a given price. It is generally downward sloping because people are willing to buy more of a good if it is cheaper.

The supply curve shows how much of a good firms are willing to sell for a given price. It is generally upward sloping.$$ \varepsilon = \frac{\Delta Q / Q_0}{\Delta P / P_0} \leq 0 $$$\Delta Q$$Q_0$$\Delta P$$P_0$$\varepsilon = 0$$\varepsilon = \infty$$$ \gamma = \frac{\Delta Q / Q_0}{\Delta …</description>
    </item>
    <item rdf:about="https://www.jaeyoung.wiki/kb:second_order_circuits_transient_response?rev=1714449825&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-30T04:03:45+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Transient response of second-order circuits</title>
        <link>https://www.jaeyoung.wiki/kb:second_order_circuits_transient_response?rev=1714449825&amp;do=diff</link>
        <description>Transient response of second-order circuits

The solutions of all time-dependent circuits look like this:

$$ x(t) = x_p + x_h(t) $$

where $x_p$ is the steady state or particular solution, and $x_h(t)$ is the transient or homogeneous solution. We can get the steady-state solution by replacing capacitors with opens and replacing inductors with shorts, just as in the first-order case. Finding the transient solution takes a bit more effort and is the subject of these notes.$$ s^2 + 2 \alpha s + \o…</description>
    </item>
    <item rdf:about="https://www.jaeyoung.wiki/kb:signal_detection?rev=1714449825&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-30T04:03:45+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Signal detection</title>
        <link>https://www.jaeyoung.wiki/kb:signal_detection?rev=1714449825&amp;do=diff</link>
        <description>Signal detection

Let $r[n]$ be a noisy signal that is either:

$$ H_0: R[n] = W[n] $$

$$ H_1: R[n] = s[n] + W[n] $$

where $s[n]$ is the signal that we are trying to detect, and $W[n]$ is an i.i.d. zero-mean Gaussian process with variance $\sigma^2$.

The maximum a posteriori rule can be written as:

$$ \frac{f(r[0], r[1], \dots, r[L-1] | H_1)}{f(r[0], r[1], \dots, r[L-1] | H_0)} \overbrace{\gt}^{'H_1'} \underbrace{\lt}_{'H_0'} \frac{p_0}{p_1}$$

Given that $W[n]$ is Gaussian, this can be rewr…</description>
    </item>
    <item rdf:about="https://www.jaeyoung.wiki/kb:signal_processing?rev=1714449825&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-30T04:03:45+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Signal processing</title>
        <link>https://www.jaeyoung.wiki/kb:signal_processing?rev=1714449825&amp;do=diff</link>
        <description>Signal processing

	*  Transfer function
	*  Fourier transform
	*  Laplace transform
	*  analog_filter
	*  Z-transform
	*  Energy spectral density
	*  Convolution
	*  BIBO stability
	*  Region of convergence
	*  Conversion between continuous-time and discrete-time signals
	*  Power spectral density
	*  Wiener filter
	*  Signal detection</description>
    </item>
    <item rdf:about="https://www.jaeyoung.wiki/kb:start?rev=1714449825&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-30T04:03:45+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Knowledge base</title>
        <link>https://www.jaeyoung.wiki/kb:start?rev=1714449825&amp;do=diff</link>
        <description>Knowledge base

Books

Electrical engineering

Economics

Finance

Mechanical engineering

Probability and statistics

Computer

Fun facts</description>
    </item>
    <item rdf:about="https://www.jaeyoung.wiki/kb:state-space_model?rev=1714449825&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-30T04:03:45+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>State-space model</title>
        <link>https://www.jaeyoung.wiki/kb:state-space_model?rev=1714449825&amp;do=diff</link>
        <description>State-space model

A state-space model models a system as a set of inputs, outputs, and state variables.

	*  The change in the state variables is a function of state variables and inputs. This change is described by the state evolution equations.
		* $$ \dot{\mathbf{q}}(t) = \mathbf{A}(t)\mathbf{q}(t) + \mathbf{B}(t)\mathbf{x}(t) $$$$ \mathbf{y}(t) = \mathbf{C}(t)\mathbf{q}(t) + \mathbf{D}(t)\mathbf{x}(t) $$$\mathbf{q}(t) = \begin{bmatrix} q_1 \\ q_2 \\ \vdots \\ q_L \end{bmatrix}$$L$$\mathbf{y…</description>
    </item>
    <item rdf:about="https://www.jaeyoung.wiki/kb:stationarity?rev=1714449825&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-30T04:03:45+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Stationarity</title>
        <link>https://www.jaeyoung.wiki/kb:stationarity?rev=1714449825&amp;do=diff</link>
        <description>Stationarity

Strict-sense stationarity

A random process is strict-sense stationary if the joint density function of the random variables obtained by sampling that process is invariant under arbitrary time shifts:

$$ f_{X(t_1), \dots X(t_\ell)}(x_1, \dots, x_\ell) = f_{X(t_1 + \alpha), \dots X(t_\ell + \alpha)}(x_1, \dots, x_\ell) $$

Wide-sense stationarity

A random process is strict-sense stationarity if:$\mu_X(t)$$$ \mu_X(t) = \mu_X $$$R_{XX}(t_1, t_2)$$C_{XX}(t_1, t_2)$$(t_1 - t_2)$$$ R_{…</description>
    </item>
    <item rdf:about="https://www.jaeyoung.wiki/kb:systemverilog?rev=1714449825&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-30T04:03:45+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Basics of SystemVerilog</title>
        <link>https://www.jaeyoung.wiki/kb:systemverilog?rev=1714449825&amp;do=diff</link>
        <description>Basics of SystemVerilog

SystemVerilog is a hardware description language (HDL) used to describe Register-Transfer Level (RTL), which models digital logic as data flows between hardware registers. Synthesis tools convert RTL into a hardware implementation composed of combinational and sequential logic elements. It is an extension of Verilog, an older HDL.</description>
    </item>
    <item rdf:about="https://www.jaeyoung.wiki/kb:systemverilog_conditionals?rev=1714449825&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-30T04:03:45+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Conditionals in SystemVerilog</title>
        <link>https://www.jaeyoung.wiki/kb:systemverilog_conditionals?rev=1714449825&amp;do=diff</link>
        <description>Conditionals in SystemVerilog

There is a number of ways to</description>
    </item>
    <item rdf:about="https://www.jaeyoung.wiki/kb:systemverilog_loops?rev=1714449825&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-30T04:03:45+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Loops in SystemVerilog</title>
        <link>https://www.jaeyoung.wiki/kb:systemverilog_loops?rev=1714449825&amp;do=diff</link>
        <description>Loops in SystemVerilog

Loops exist in SystemVerilog, but they do not behave like in computer programs. Loops in computer programs are executed sequentially, but it's not possible to define a sequential loop in synthesizable SystemVerilog. Instead, when the loop is synthesized, each</description>
    </item>
    <item rdf:about="https://www.jaeyoung.wiki/kb:the_moon_is_a_harsh_mistress?rev=1714449825&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-30T04:03:45+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>The Moon Is a Harsh Mistress</title>
        <link>https://www.jaeyoung.wiki/kb:the_moon_is_a_harsh_mistress?rev=1714449825&amp;do=diff</link>
        <description>The Moon Is a Harsh Mistress

Plot summary

Chapter summary

Chapter 1

The narrator describes the “High-Optional, Logical, Multi-Evaluating Supervisor, Mark IV, Mod. L,” or HOLMES FOUR, which is the computer that runs various aspects of the lunar settlement. He has nicknamed the computer</description>
    </item>
    <item rdf:about="https://www.jaeyoung.wiki/kb:time_averaging?rev=1714449825&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-30T04:03:45+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Time-averaging circuit variables</title>
        <link>https://www.jaeyoung.wiki/kb:time_averaging?rev=1714449825&amp;do=diff</link>
        <description>Time-averaging circuit variables

Finding the time average of circuit variables is commonly done in power electronics. It is usually very difficult to calculate time averages explicitly by finding time-varying expressions for the variable in questions and integrating. Instead, we can use the constitutive relations of capacitors and/or inductors to greatly simplify the math.$$ i_C(t) = C \frac{dv_C}{dt} $$$$ v_L(t) = L \frac{di_L}{dt} $$$i_C(t)$$t = 0$$t = T$$$ &lt;i_C&gt; = \frac{1}{T} \int_0^T i_C(t)…</description>
    </item>
    <item rdf:about="https://www.jaeyoung.wiki/kb:transfer_function?rev=1714449825&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-30T04:03:45+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Transfer function</title>
        <link>https://www.jaeyoung.wiki/kb:transfer_function?rev=1714449825&amp;do=diff</link>
        <description>Transfer function

The transfer function of a system represents the ratio of its output to its input. Transfer functions are written in the Laplace transform or Z transform.



$$H(s) = \frac{Y(s)}{X(s)}$$

Examples of transfer functions

For a capacitor with capacitance $C$, let $v$, the voltage across the capacitor, be the input, and $i$$$H(s) = \frac{I(s)}{V(s)} = sC$$$\frac{I(s)}{V(s)}$$\frac{1}{sC}$$m$$F$$x$$$H(s) = \frac{X(s)}{F(s)} = \frac{1}{ms^2}$$$$F = ma = m\ddot{x}$$$$F(s) = ms^2X(s)…</description>
    </item>
    <item rdf:about="https://www.jaeyoung.wiki/kb:transistor?rev=1714449825&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-30T04:03:45+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Transistor</title>
        <link>https://www.jaeyoung.wiki/kb:transistor?rev=1714449825&amp;do=diff</link>
        <description>Transistor

According to Professor Max Shulaker, the invention of fire is what allowed apes to evolve into humans, and transistors are the next invention that is allowing humans to evolve into its next form..? Anyway, the point is, transistors are very important, and all of modern electronics are built with them.$$I_C = I_S(1+\frac{V_{CE}}{V_A})exp(\frac{V_{BE}}{V_{th}})$$$$I_B = \frac{I_C}{\beta_F}$$$$\beta_F = \beta_{F0}(1+\frac{V_{CB}}{V_A})$$$$r_o = \frac{V_A}{I_C}$$$I_S$$V_{th}$$\frac{KT}{q…</description>
    </item>
    <item rdf:about="https://www.jaeyoung.wiki/kb:transmission_line?rev=1714449825&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-30T04:03:45+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Transmission lines</title>
        <link>https://www.jaeyoung.wiki/kb:transmission_line?rev=1714449825&amp;do=diff</link>
        <description>Transmission lines

Wavelength of EM waves in a vacuum

$$\lambda=\frac{c}{f}$$

where $c$ is the speed of EM waves and $f$ is the frequency.

Wavelength of EM waves in a medium

The speed of EM waves depends on the substrate material because it takes time for the charges in the substrate to align to the waves.$$D_k=\epsilon_r$$$$\lambda=\frac{c}{f\sqrt{\epsilon_{eff}}}$$$\frac{1}{20}$$$Z_0=\sqrt{\frac{R+j\omega L}{G+j\omega C}} \approx \sqrt{\frac{L}{C}}$$$$\alpha_t=\alpha_c+\alpha_d+\alpha_r$$…</description>
    </item>
    <item rdf:about="https://www.jaeyoung.wiki/kb:trimming_videos_with_ffmpeg?rev=1714449825&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-30T04:03:45+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Trimming videos with FFMPEG</title>
        <link>https://www.jaeyoung.wiki/kb:trimming_videos_with_ffmpeg?rev=1714449825&amp;do=diff</link>
        <description>Trimming videos with FFMPEG

To trim video with FFMPEG, use the following command:


ffmpeg -i input.mp4 -ss xx:xx:xx -to yy:yy:yy -c copy output.mp4


where

	*  input.mp4 is the input file
	*  xx:xx:xx is the start time
	*  yy:yy:yy is the end time</description>
    </item>
    <item rdf:about="https://www.jaeyoung.wiki/kb:uncorrelatedness_independence?rev=1714449825&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-30T04:03:45+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Uncorrelatedness and independence</title>
        <link>https://www.jaeyoung.wiki/kb:uncorrelatedness_independence?rev=1714449825&amp;do=diff</link>
        <description>Uncorrelatedness and independence

Two random variables $X$ and $Y$ are independent if their joint PDF $f_{XY}(x,y)$ can be separated into a product of their individual PDFs:

$$ f_{XY}(x,y) = f_X(x) f_Y(y) $$

For any functions $g(\dot)$ and $h(\dot)$:

$$ E[g(X)h(Y)] = E[g(X)]E[h(Y)] $$

Two random variables $X$ and $Y$ are independent if:

$$ E[XY] = E[X]E[Y] $$

Alternatively:$$ Cov(X, Y) = 0 $$</description>
    </item>
    <item rdf:about="https://www.jaeyoung.wiki/kb:utility?rev=1714449825&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-30T04:03:45+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Utility</title>
        <link>https://www.jaeyoung.wiki/kb:utility?rev=1714449825&amp;do=diff</link>
        <description>Utility

Utility is an ordinal concept that allows a consumer to rank choices.

Consumers behave to maximize their utility. They have preferences, which is what they want, and they get as much as possible within a certain budget.

Preference assumptions
$ A &gt; B, B &gt; C \implies A &gt; C $$$ U = \sqrt{XY} $$$$ \frac{\partial U}{\partial X} = \frac{1}{2}\sqrt{\frac{Y}{X}} $$$X$$$ MRS = \frac{\Delta Y}{\Delta X} = -\frac{MU_X}{MU_Y}$$$MU_X$$$ \mathrm{Budget} = \mathrm{Income} $$$$ I = X p_X + Y p_Y $$$…</description>
    </item>
    <item rdf:about="https://www.jaeyoung.wiki/kb:vector_picture?rev=1714449825&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-30T04:03:45+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Random variables as vectors</title>
        <link>https://www.jaeyoung.wiki/kb:vector_picture?rev=1714449825&amp;do=diff</link>
        <description>Random variables as vectors

Random variables can be seen as vectors.

Inner product

The inner product is the generalization of dot products for vectors. The inner product of two random variables is the expected value of their product.

The inner product of two random variables $X$$Y$$$ &lt;X, Y&gt; = E[XY] $$$X$$Y$$$ cos(\theta) = \frac{&lt;X, Y&gt;}{\sqrt{&lt;X, X&gt;&lt;Y, Y&gt;}} = \frac{E[XY]}{\sqrt{E[X^2]E[Y^2]}} $$$X$$Y$$E[XY] = 0$$X$$Y$$E[XY] = E[X]E[Y]$$E[\tilde{X}\tilde{Y}] = 0$$\tilde{X} = X - \mu_X$$\tilde…</description>
    </item>
    <item rdf:about="https://www.jaeyoung.wiki/kb:wiener_filtering?rev=1714449825&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-30T04:03:45+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Wiener filter</title>
        <link>https://www.jaeyoung.wiki/kb:wiener_filtering?rev=1714449825&amp;do=diff</link>
        <description>Wiener filter

Unconstrained Wiener filter

Wiener filtering allows us to estimate the value of one wide-sense stationary random process from measurements of another WSS random process that is jointly WSS.

Essentially, a Wiener filter is an LMMSE estimator that uses the values of one process to estimate the values of the other. This can be written in the form:$$ \hat{y} [n] = \mu_y + \sum_{j = 0}^{L-1} h[j] \underbrace{(x[n-j] - \mu_x)}_{\tilde{x}[n-j]} $$$x$$h$$$ \hat{y}[n] = (h \ast x)[n] $$$…</description>
    </item>
    <item rdf:about="https://www.jaeyoung.wiki/kb:wss_processes_lti_systems?rev=1714449825&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-30T04:03:45+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>LTI filtering of WSS processes</title>
        <link>https://www.jaeyoung.wiki/kb:wss_processes_lti_systems?rev=1714449825&amp;do=diff</link>
        <description>LTI filtering of WSS processes

Let $x(\dot)$ be a wide-sense stationary process with:

	*  Mean $\mu_x$
	*  Autocorrelation $R_{xx}(\tau)$
	*  Autocovariance $C_{xx}(\tau)$
	*  $E[x^2(t)] \lt \infty$

Let $y(t) = h \ast x(t)$. Then, the following relations are true:

$$ E[y(t)] = H(j0) \mu_x $$

$$ R_{yx}(\tau) = h \ast R_{xx}(\tau) $$

$$ C_{yx}(\tau) = h \ast C_{xx} (\tau) $$

$$ R_{xy}(\tau) = \overleftarrow{h} \ast R_{xx}(\tau) $$

$$ C_{xy}(\tau) = \overleftarrow{h} \ast C_{xx}(\tau) $$

$…</description>
    </item>
    <item rdf:about="https://www.jaeyoung.wiki/kb:z-transform?rev=1714449825&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-30T04:03:45+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Z-transform</title>
        <link>https://www.jaeyoung.wiki/kb:z-transform?rev=1714449825&amp;do=diff</link>
        <description>Z-transform

The Z-transform converts a discrete-time signal into a complex frequency-domain representation.

It is the discrete-time equivalent of the Laplace transform.

Definition

Bilateral/two-sided Z-transform:

$$ x[n] \leftrightarrow X(z) $$

$$ X(z) = \mathcal{Z}\{x[n]\} = \sum_{n = -\infty}^{\infty} x[n]z^{-n} $$

$$ x[n] = \mathcal{Z}^{-1}\{x[n]\} = \frac{1}{2\pi} \int_{-\pi}^{\pi} X(z) z^n d\Omega |_{z = \bar{r}e^{j\Omega}} $$

Inverse Z-transform

Usually, we will compute the invers…</description>
    </item>
    <item rdf:about="https://www.jaeyoung.wiki/kb:zir?rev=1714449825&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-30T04:03:45+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Zero-input response</title>
        <link>https://www.jaeyoung.wiki/kb:zir?rev=1714449825&amp;do=diff</link>
        <description>Zero-input response

A zero-input response (ZIR), or the undriven response, of a state-space system is its output when the input $\mathbf{x} = 0$. In other words, the ZIR is the response of the system to its initial conditions.

CT case

To find the ZIR of a CT state-space system:

	* $$ \mathbf{x} \equiv 0 $$$$ \dot{\mathbf{q}}(t) = \mathbf{A}\mathbf{q}(t) $$$$ \mathbf{q}(t) = \mathbf{v}e^{\lambda t} $$$$ e^{\lambda t} \lambda \mathbf{v} = \mathbf{A}\mathbf{v} e^{\lambda t} $$$\lambda$$\mathbf{…</description>
    </item>
</rdf:RDF>
