File:R2r-ladder.png
De Wikimedia Commons
Salta a la navegació
Salta a la cerca
R2r-ladder.png (649 × 163 píxels, mida del fitxer: 8 Ko, tipus MIME: image/png)
Informació del fitxer
Dades estructurades
Llegendes
DescripcióR2r-ladder.png |
English: n bits R2R Lader |
Data | |
Font | Treball propi |
Autor | Lsibilla |
Permís (Com reutilitzar aquest fitxer) |
Aquest fitxer està publicat sota la llicència de Creative Commons Reconeixement i Compartir Igual 2.0 Bèlgica.
|
Altres versions |
|
LaTex source code[modifica]
\begin{circuitikz}[scale=0.9] \def\n{2} \node (ground) at (-2, 0) {}; \node (Vcc) at (0, 3) {}; \foreach \contact in {0,...,\n} { % Define contacts for each bits \node (up contact \contact) at ($({2*\contact}, 2)$) {}; \node (down contact \contact) at ($({2*\contact}, 0)$) {}; % Draw R resistors and manage the a_{n-0} case \ifnum \contact>0 \node (up contact -\contact) at ($({2+4*\n-2*\contact}, 2)$) {}; \node (down contact -\contact) at ($({2+4*\n-2*\contact}, 0)$) {}; \draw (down contact \contact) to [R=R, *-*] ($(down contact \contact)-(2, 0)$); \draw (up contact -\contact) node[anchor=south] {$a_{n-\contact}$}; \draw (down contact -\contact) to [R=2R, *-o] (up contact -\contact); \fi \ifnum \contact>1 \draw ($(down contact -\contact)+(2, 0)$) to [R=R, *-*] (down contact -\contact); \fi % Draw 2R resistors \draw (down contact \contact) to [R=2R, *-o] (up contact \contact) node[anchor=south] {$a_{\contact}$}; } % Draw ground and Vout \draw (down contact 0) to [R=2R, *-*] (ground) node[ground] {} (down contact -1) to [short, *-o] ($(down contact -1)+(1,0)$) node[anchor=west] {$V_{out}$}; % Draw ldots \draw[fill=black,decorate,decoration={shape backgrounds,shape=circle,shape size=1mm}] ($0.67*(down contact \n)+0.33*(down contact -\n)$) -- ($0.33*(down contact \n)+0.67*(down contact -\n)$); \draw[fill=black,decorate,decoration={shape backgrounds,shape=circle,shape size=1mm}] ($0.67*(up contact \n)+0.33*(up contact -\n)$) -- ($0.33*(up contact \n)+0.67*(up contact -\n)$); \end{circuitikz}
Preamble[modifica]
Without the added declaration, pgf complained about shape size in the \draw statements.
\usepackage[symbols]{circuitikz} \usetikzlibrary{decorations.shapes}
Historial del fitxer
Cliqueu una data/hora per veure el fitxer tal com era aleshores.
Data/hora | Miniatura | Dimensions | Usuari/a | Comentari | |
---|---|---|---|---|---|
actual | 09:50, 29 juny 2010 | 649 × 163 (8 Ko) | Lsibilla (discussió | contribucions) | n bit lader should have input from a_0 to a_{n-1} | |
11:53, 25 abr 2010 | 1.510 × 325 (31 Ko) | Lsibilla (discussió | contribucions) | Licensing issue | ||
22:15, 24 abr 2010 | 1.510 × 325 (31 Ko) | Lsibilla (discussió | contribucions) | {{Information |Description={{en|1=n bits R2R Lader}} |Source=\begin{circuitikz}[scale=0.9] \def\n{2} \node (ground) at (-2, 0) {}; \node (Vcc) at (0, 3) {}; \foreach \contact in {0,...,\n} { % Define contacts for each bits |
No podeu sobreescriure aquest fitxer.
Ús del fitxer
Les 4 pàgines següents utilitzen aquest fitxer:
Ús global del fitxer
Utilització d'aquest fitxer en altres wikis:
- Utilització a ca.wikipedia.org
- Utilització a en.wikipedia.org
- Utilització a ja.wikipedia.org