-
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.
Include instruction on how to use python environment. Update analys b.
- Loading branch information
Showing
8 changed files
with
172 additions
and
29 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
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
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,71 @@ | ||
\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[style=ieee,backend=biber]{biblatex} | ||
\usepackage[breaklinks=true,bookmarks=true,hidelinks]{hyperref} | ||
\usepackage{tikz} | ||
\usepackage{pgfplots} | ||
\pgfplotsset{compat=newest,compat/show suggested version=false} | ||
|
||
\geometry{ | ||
a4paper, | ||
hmargin=2.54cm, | ||
tmargin=1.27cm, | ||
bmargin=1.27cm, | ||
includeheadfoot | ||
} | ||
\setcounter{secnumdepth}{0} % Disable section numbering | ||
|
||
\begin{document} | ||
\section{Dator- och internetteknik} | ||
|
||
\subsection{Computer Architectures} | ||
|
||
\subsubsection{General Architecture} | ||
|
||
Memory | ||
|
||
ALU | ||
|
||
Control Unit | ||
|
||
Registers | ||
|
||
Intterupts | ||
|
||
Cache Memory | ||
|
||
Pipelining | ||
|
||
CISC/RISC | ||
|
||
Bus | ||
|
||
\subsubsection{Different Type of Systems} | ||
|
||
Von-Neumann Model | ||
|
||
General Purpose System | ||
|
||
Parallel Processing | ||
|
||
Flynn's Classification of Computers | ||
|
||
\subsubsection{Instructions} | ||
|
||
Single Instruction and Single Data Stream | ||
|
||
Single Instruction and Multiple Data Stream | ||
|
||
Multiple Instruction and Single Data Stream | ||
|
||
\end{document} | ||
|
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,26 @@ | ||
# %% Imports | ||
import numpy as np | ||
import pandas as pd | ||
import matplotlib.pyplot as plt | ||
from scipy import signal | ||
from matplotlib.ticker import EngFormatter | ||
|
||
# %% Analytics | ||
# Data for plotting | ||
fs = 10.0 | ||
Ts = 1/fs | ||
f = 5.0 | ||
t = np.arange(0.0, 2.0, Ts) | ||
s = 1 + np.sin(2 * np.pi * f * t * Ts ) | ||
|
||
fig, ax = plt.subplots() | ||
ax.plot(t, s) | ||
# ax.stem(t, s) | ||
ax.set(xlabel='time (s)', ylabel='voltage (mV)', title='Sinewave') | ||
ax.grid(linewidth=1, color='lightgray', alpha=0.5) | ||
ax.grid(which='minor', linestyle=':', linewidth=1, color='lightgray', alpha=0.25) | ||
|
||
# plt.savefig("test.png", dpi=512) | ||
plt.show() | ||
|
||
# %% |
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,15 @@ | ||
contourpy==1.2.0 | ||
cycler==0.12.1 | ||
fonttools==4.50.0 | ||
kiwisolver==1.4.5 | ||
matplotlib==3.8.3 | ||
numpy==1.26.4 | ||
packaging==24.0 | ||
pandas==2.2.1 | ||
pillow==10.2.0 | ||
pyparsing==3.1.2 | ||
python-dateutil==2.9.0.post0 | ||
pytz==2024.1 | ||
scipy==1.12.0 | ||
six==1.16.0 | ||
tzdata==2024.1 |