-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
158 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,157 @@ | ||
\documentclass[11pt]{article} | ||
\usepackage[utf8]{inputenc} | ||
\usepackage[T1]{fontenc} % Fix weird character | ||
\usepackage{geometry} | ||
\usepackage{amsmath} | ||
\usepackage{amssymb} | ||
\usepackage{gensymb} | ||
\usepackage{spalign} | ||
\usepackage{xfrac} | ||
\usepackage{parskip} | ||
\usepackage{float} % figure[H] | ||
\usepackage[english]{babel} | ||
\usepackage[style=ieee,backend=biber,urldate=iso,date=iso]{biblatex} | ||
\usepackage[breaklinks=true,bookmarks=true,hidelinks]{hyperref} | ||
\usepackage{tikz} | ||
\usepackage{pgfplots} | ||
\usepackage{circuitikz} | ||
\usepackage{subcaption} | ||
\usepackage[yyyymmdd]{datetime} | ||
\usetikzlibrary {arrows.meta} | ||
\pgfplotsset{compat=newest,compat/show suggested version=false} | ||
|
||
% Custom shape | ||
\makeatletter | ||
\pgfdeclareshape{dflowpass}{ | ||
\inheritsavedanchors[from=rectangle] | ||
\inheritanchorborder[from=rectangle] | ||
\inheritanchor[from=rectangle]{center} | ||
\anchor{left}{\pgfpoint{-0.5cm}{0cm}} | ||
\anchor{right}{\pgfpoint{0.5cm}{0cm}} | ||
% Add more custom anchors if needed | ||
\backgroundpath{ | ||
% Draw the switch shape (rectangle with diagonal lines) | ||
\pgfsetlinewidth{0.85pt} | ||
\pgfpathrectanglecorners{\pgfpoint{-0.5cm}{-0.5cm}}{\pgfpoint{0.5cm}{0.5cm}} | ||
\pgfpathmoveto{\pgfpoint{-0.35cm}{0.125cm}} | ||
\pgfpathlineto{\pgfpoint{0.15cm}{0.125cm}} | ||
\pgfpathlineto{\pgfpoint{0.35cm}{-0.2cm}} | ||
\pgfusepath{draw} | ||
} | ||
} | ||
\pgfdeclareshape{dfhighpass}{ | ||
\inheritsavedanchors[from=rectangle] | ||
\inheritanchorborder[from=rectangle] | ||
\inheritanchor[from=rectangle]{center} | ||
\anchor{left}{\pgfpoint{-0.5cm}{0cm}} | ||
\anchor{right}{\pgfpoint{0.5cm}{0cm}} | ||
\backgroundpath{ | ||
% Draw the switch shape (rectangle with diagonal lines) | ||
\pgfsetlinewidth{1pt} | ||
\pgfpathrectanglecorners{\pgfpoint{-0.5cm}{-0.5cm}}{\pgfpoint{0.5cm}{0.5cm}} | ||
\pgfpathmoveto{\pgfpoint{0.35cm}{0.125cm}} | ||
\pgfpathlineto{\pgfpoint{-0.15cm}{0.125cm}} | ||
\pgfpathlineto{\pgfpoint{-0.35cm}{-0.2cm}} | ||
\pgfusepath{draw} | ||
} | ||
} | ||
\pgfdeclareshape{dfbandpass}{ | ||
\inheritsavedanchors[from=rectangle] | ||
\inheritanchorborder[from=rectangle] | ||
\inheritanchor[from=rectangle]{center} | ||
\anchor{left}{\pgfpoint{-0.5cm}{0cm}} | ||
\anchor{right}{\pgfpoint{0.5cm}{0cm}} | ||
\backgroundpath{ | ||
% Draw the switch shape (rectangle with diagonal lines) | ||
\pgfsetlinewidth{1pt} | ||
\pgfpathrectanglecorners{\pgfpoint{-0.5cm}{-0.5cm}}{\pgfpoint{0.5cm}{0.5cm}} | ||
\pgfpathmoveto{\pgfpoint{-0.35cm}{-0.2cm}} | ||
\pgfpathlineto{\pgfpoint{-0.20cm}{0.125cm}} | ||
\pgfpathlineto{\pgfpoint{0.15cm}{0.125cm}} | ||
\pgfpathlineto{\pgfpoint{0.35cm}{-0.2cm}} | ||
\pgfusepath{draw} | ||
} | ||
} | ||
\pgfdeclareshape{quantizer}{ | ||
\inheritsavedanchors[from=rectangle] | ||
\inheritanchorborder[from=rectangle] | ||
\inheritanchor[from=rectangle]{center} | ||
\anchor{left}{\pgfpoint{-0.5cm}{0cm}} | ||
\anchor{right}{\pgfpoint{0.5cm}{0cm}} | ||
\backgroundpath{ | ||
% Draw the switch shape (rectangle with diagonal lines) | ||
\pgfsetlinewidth{0.8pt} | ||
\pgfpathrectanglecorners{\pgfpoint{-0.5cm}{-0.5cm}}{\pgfpoint{0.5cm}{0.5cm}} | ||
\pgfpathmoveto{\pgfpoint{-0.25cm}{-0.25cm}} | ||
\pgfpathlineto{\pgfpoint{0cm}{-0.25cm}} | ||
\pgfpathlineto{\pgfpoint{0cm}{0.25cm}} | ||
\pgfpathlineto{\pgfpoint{0.25cm}{0.25cm}} | ||
\pgfusepath{draw} | ||
} | ||
} | ||
\pgfdeclareshape{quantamp}{ | ||
\inheritsavedanchors[from=op amp] | ||
\inheritanchorborder[from=op amp] | ||
\inheritanchor[from=op amp]{center} | ||
\inheritanchor[from=op amp]{+} | ||
\inheritanchor[from=op amp]{-} | ||
\inheritanchor[from=op amp]{out} | ||
\inheritanchor[from=op amp]{up} | ||
\inheritanchor[from=op amp]{down} | ||
\backgroundpath{ | ||
\pgfsetlinewidth{0.8pt} | ||
\pgfpathmoveto{\pgfpoint{-0.5cm}{0.55cm}} | ||
\pgfpathlineto{\pgfpoint{0.5cm}{0}} | ||
\pgfpathlineto{\pgfpoint{-0.5cm}{-0.55cm}} | ||
\pgfpathclose | ||
\pgfpathmoveto{\pgfpoint{-0.35cm}{-0.2cm}} | ||
\pgfpathlineto{\pgfpoint{-0.2cm}{-0.2cm}} | ||
\pgfpathlineto{\pgfpoint{-0.2cm}{0.2cm}} | ||
\pgfpathlineto{\pgfpoint{-0.05cm}{0.2cm}} | ||
\pgfusepath{draw} | ||
} | ||
} | ||
\makeatother | ||
|
||
\geometry{ | ||
a4paper, | ||
hmargin=2.54cm, | ||
tmargin=1.27cm, | ||
bmargin=1.27cm, | ||
includeheadfoot | ||
} | ||
\setcounter{secnumdepth}{0} % Disable section numbering | ||
|
||
\begin{filecontents}{ee.bib} | ||
@book{mcclellan2015dsp, | ||
title = {DSP First}, | ||
author = {James H. McClellan and Ronald W. Schafer and Mark A. Yoder}, | ||
year = {2015}, | ||
edition = {Second, Global}, | ||
publisher = {Pearson}, | ||
isbn = {9780136019251} | ||
} | ||
@misc{em-as, | ||
author = {{Applied Science}}, | ||
title = {{Engineering magnetics -- practical introduction to BH curve}}, | ||
year = {2018}, | ||
howpublished = {\url{https://youtu.be/watch?v=4UFKl9fULkA}}, | ||
note = {Accessed: 2024-11-25} | ||
} | ||
\end{filecontents} | ||
\addbibresource{ee.bib} | ||
|
||
\begin{document} | ||
|
||
\section{Engineering Magnetics} | ||
|
||
The same logic, voltage, current and wire are almost the same in magnetics.\cite{em-as} | ||
|
||
Some termonology: | ||
|
||
In electric circuit we call resistant when there is an opposition of flow of | ||
current. In magnetic circuit we call it reluctant. | ||
|
||
\newpage | ||
\printbibliography | ||
\end{document} |