ファイル:R2r-ladder.png
提供: testwiki
ナビゲーションに移動
検索に移動
R2r-ladder.png (649 × 163 ピクセル、ファイルサイズ: 8キロバイト、MIME タイプ: image/png)
このファイルはウィキメディア・コモンズのものであり、他のプロジェクトで使用されている可能性があります。 ウィキメディア・コモンズでのファイル解説ページにある説明を以下に示します。
| 解説R2r-ladder.png |
English: n bits R2R Lader |
| 日付 | |
| 原典 | 投稿者自身による著作物 |
| 作者 | Lsibilla |
| 許可 (ファイルの再利用) |
このファイルはクリエイティブ・コモンズ 表示-継承 2.0 ベルギーライセンスのもとに利用を許諾されています。
|
| その他のバージョン |
|
LaTex source code
\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
Without the added declaration, pgf complained about shape size in the \draw statements.
\usepackage[symbols]{circuitikz}
\usetikzlibrary{decorations.shapes}
キャプション
このファイルの内容を1行で記述してください
このファイルに描写されている項目
題材
ウィキデータ項目がない値
10 4 2010
7,869 バイト
163 ピクセル
649 ピクセル
image/png
812bbcf2e438219075685b736121aaa1397f2d1a
ファイルの履歴
過去の版のファイルを表示するには、その版の日時をクリックしてください。
| 日時 | サムネイル | 寸法 | 利用者 | コメント | |
|---|---|---|---|---|---|
| 現在の版 | 2010年6月29日 (火) 10:50 | 649 × 163 (8キロバイト) | wikimediacommons>Lsibilla | n bit lader should have input from a_0 to a_{n-1} |
ファイルの使用状況
以下のページがこのファイルを使用しています:

