Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Download

📚 The CoCalc Library - books, templates and other resources

132930 views
License: OTHER
1
\documentclass{article}
2
\usepackage[pdftex,active,tightpage]{preview}
3
\setlength\PreviewBorder{2mm}
4
5
\usepackage{amsmath}
6
\usepackage{tikz}
7
\usetikzlibrary{shapes, calc, shapes, arrows}
8
9
\begin{document}
10
\begin{preview}
11
\tikzstyle{inputNode}=[draw,circle,minimum size=10pt,inner sep=0pt]
12
\tikzstyle{stateTransition}=[->, thick]
13
\begin{tikzpicture}
14
\node[draw,circle,minimum size=25pt,inner sep=0pt] (x) at (0,0) {$\Sigma$ $\varphi$};
15
16
\node[inputNode] (x0) at (-2, 1.5) {\color{red}$\tiny x_0$};
17
\node[inputNode] (x1) at (-2, 0.75) {\color{red}$\tiny x_1$};
18
\node[inputNode] (x2) at (-2, 0) {\color{red}$\tiny x_2$};
19
\node[inputNode] (x3) at (-2, -0.75) {\color{red}$\tiny x_3$};
20
\node[inputNode] (xn) at (-2, -1.75) {\color{red}$\tiny x_n$};
21
22
\draw[stateTransition] (x0) to[out=0,in=120] node [midway, sloped, above=-2] {\color{green!40!black}$w_0$} (x);
23
\draw[stateTransition] (x1) to[out=0,in=150] node [midway, sloped, above=-2] {\color{green!40!black}$w_1$} (x);
24
\draw[stateTransition] (x2) to[out=0,in=180] node [midway, sloped, above=-2] {\color{green!40!black}$w_2$} (x);
25
\draw[stateTransition] (x3) to[out=0,in=210] node [midway, sloped, above=-2] {\color{green!40!black}$w_3$} (x);
26
\draw[stateTransition] (xn) to[out=0,in=240] node [midway, sloped, above=-2] {\color{green!40!black}$w_n$} (x);
27
\color{blue}
28
\draw[stateTransition] (x) -- (2,0) node [midway,above=-0.1cm] {};
29
\draw[dashed] (0,-0.43) -- (0,0.43);
30
\node (dots) at (-2, -1.15) {$\vdots$};
31
\end{tikzpicture}
32
\end{preview}
33
\end{document}
34
35