How to draw box diagram with parameters
Clash Royale CLAN TAG#URR8PPP
How can I draw with tikz the following:
tikz-pgf
add a comment |
How can I draw with tikz the following:
tikz-pgf
1
Welcome to TeX.SE! What have you tried so far?
– Kurt
Jan 30 at 12:23
add a comment |
How can I draw with tikz the following:
tikz-pgf
How can I draw with tikz the following:
tikz-pgf
tikz-pgf
asked Jan 30 at 12:18
ttssttss
61
61
1
Welcome to TeX.SE! What have you tried so far?
– Kurt
Jan 30 at 12:23
add a comment |
1
Welcome to TeX.SE! What have you tried so far?
– Kurt
Jan 30 at 12:23
1
1
Welcome to TeX.SE! What have you tried so far?
– Kurt
Jan 30 at 12:23
Welcome to TeX.SE! What have you tried so far?
– Kurt
Jan 30 at 12:23
add a comment |
2 Answers
2
active
oldest
votes
A simple solution with pstricks
:
documentclass[border=3pt, svgnames]standalone
usepackagepst-node, auto-pst-pdf
usepackageeqparbox, amssymb
usepackagesansmath
begindocument
beginsansmath
sffamilyitshape
pssetcolsep=1cm, rowsep=1cm, linewidth=0.5pt, arrows=->, arrowinset=0.12, nodesep=2pt, labelsep=2pt
beginpsmatrix[mnode=R]
%%% Matrix nodes
& &[name=w] $w(t)$ \
pnode[0,0.8ex]S & [name=H]fcolorboxblackGoldeqmakebox[B]$ h(t) $ & circlenode[linewidth=0.8pt]C$mathbf + $ & [name=Sa]
fcolorboxblackGoldeqmakebox[B]Sampling & [name=Eq] fcolorboxblackGoldeqmakebox[B]Equalizer & pnode[0,0.8ex]T
%%% Connections
nclinewC
nclineSHnaput$x_k$
nclineHC
nclineCSanaput$y(t)$
nclineSaEqnaput$y_k$
nclineEqTnaput$mkern1.5muwidehatmkern-1.5mu x_k$
endpsmatrix
endsansmath
enddocument
I like very much your output of your code. :-) very nice sansmath.
– Sebastiano
Jan 30 at 17:14
1
Thank you for your kind appreciation, @Sebastiano!
– Bernard
Jan 30 at 17:17
I always hope as I do with my students to give Caesar what is Caesar's.
– Sebastiano
Jan 30 at 17:18
add a comment |
A starting point could be with this:
documentclass[tikz,14pt,border=10pt]standalone
usepackagetextcomp
usetikzlibraryshapes,arrows
usetikzlibrarypositioning
begindocument
% Definition of blocks:
tikzset%
block/.style = draw, thick, rectangle, minimum height = 1em,
minimum width = 6em, fill=yellow!30!white,,
sum/.style = draw, circle, node distance = 2cm, % Adder
input/.style = coordinate, % Input
output/.style = coordinate % Output
% Defining string as labels of certain blocks.
newcommandsumaLarge$+$
begintikzpicture[auto, thick, node distance=2cm, >=triangle 45]
draw
% Drawing the blocks of first filter :
node at (0,0)
node [input, name=input1]
node [block, right = 1cm of input1] (inte2) $h(t)$
node [sum, right = 1cm of inte2] (suma1) suma
node [input, name=input2, above = 1cm of suma1]
node [block, right = 1cm of suma1] (inte1) Sampling
node [block, right = 1cm of inte1] (Q1) Equalizer
node [output, name=output1, right = 1cm of Q1] ;
% Joining blocks.
% Commands draw with options like [->] must be written individually
draw[->](input1) -- node $x_k$(inte2);
draw[->](inte2) -- node (suma1);
draw[->](suma1) -- node $y(t)$ (inte1);
draw[->](inte1) -- node $y_k$ (Q1);
draw[->](Q1) -- node $hat x_k$ (output1);
draw[->](input2) -- node $w(t)$ (suma1);
endtikzpicture
enddocument
which will give you:
From this I hope you can start editing and customising it on your own.
1
My compliments for you. I have seen your progress with LaTeX :-). Regards.
– Sebastiano
Jan 30 at 17:14
1
@Sebastian thanks :) just started going through the manuals ;)
– Raaja
Jan 30 at 17:15
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "85"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f472553%2fhow-to-draw-box-diagram-with-parameters%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
A simple solution with pstricks
:
documentclass[border=3pt, svgnames]standalone
usepackagepst-node, auto-pst-pdf
usepackageeqparbox, amssymb
usepackagesansmath
begindocument
beginsansmath
sffamilyitshape
pssetcolsep=1cm, rowsep=1cm, linewidth=0.5pt, arrows=->, arrowinset=0.12, nodesep=2pt, labelsep=2pt
beginpsmatrix[mnode=R]
%%% Matrix nodes
& &[name=w] $w(t)$ \
pnode[0,0.8ex]S & [name=H]fcolorboxblackGoldeqmakebox[B]$ h(t) $ & circlenode[linewidth=0.8pt]C$mathbf + $ & [name=Sa]
fcolorboxblackGoldeqmakebox[B]Sampling & [name=Eq] fcolorboxblackGoldeqmakebox[B]Equalizer & pnode[0,0.8ex]T
%%% Connections
nclinewC
nclineSHnaput$x_k$
nclineHC
nclineCSanaput$y(t)$
nclineSaEqnaput$y_k$
nclineEqTnaput$mkern1.5muwidehatmkern-1.5mu x_k$
endpsmatrix
endsansmath
enddocument
I like very much your output of your code. :-) very nice sansmath.
– Sebastiano
Jan 30 at 17:14
1
Thank you for your kind appreciation, @Sebastiano!
– Bernard
Jan 30 at 17:17
I always hope as I do with my students to give Caesar what is Caesar's.
– Sebastiano
Jan 30 at 17:18
add a comment |
A simple solution with pstricks
:
documentclass[border=3pt, svgnames]standalone
usepackagepst-node, auto-pst-pdf
usepackageeqparbox, amssymb
usepackagesansmath
begindocument
beginsansmath
sffamilyitshape
pssetcolsep=1cm, rowsep=1cm, linewidth=0.5pt, arrows=->, arrowinset=0.12, nodesep=2pt, labelsep=2pt
beginpsmatrix[mnode=R]
%%% Matrix nodes
& &[name=w] $w(t)$ \
pnode[0,0.8ex]S & [name=H]fcolorboxblackGoldeqmakebox[B]$ h(t) $ & circlenode[linewidth=0.8pt]C$mathbf + $ & [name=Sa]
fcolorboxblackGoldeqmakebox[B]Sampling & [name=Eq] fcolorboxblackGoldeqmakebox[B]Equalizer & pnode[0,0.8ex]T
%%% Connections
nclinewC
nclineSHnaput$x_k$
nclineHC
nclineCSanaput$y(t)$
nclineSaEqnaput$y_k$
nclineEqTnaput$mkern1.5muwidehatmkern-1.5mu x_k$
endpsmatrix
endsansmath
enddocument
I like very much your output of your code. :-) very nice sansmath.
– Sebastiano
Jan 30 at 17:14
1
Thank you for your kind appreciation, @Sebastiano!
– Bernard
Jan 30 at 17:17
I always hope as I do with my students to give Caesar what is Caesar's.
– Sebastiano
Jan 30 at 17:18
add a comment |
A simple solution with pstricks
:
documentclass[border=3pt, svgnames]standalone
usepackagepst-node, auto-pst-pdf
usepackageeqparbox, amssymb
usepackagesansmath
begindocument
beginsansmath
sffamilyitshape
pssetcolsep=1cm, rowsep=1cm, linewidth=0.5pt, arrows=->, arrowinset=0.12, nodesep=2pt, labelsep=2pt
beginpsmatrix[mnode=R]
%%% Matrix nodes
& &[name=w] $w(t)$ \
pnode[0,0.8ex]S & [name=H]fcolorboxblackGoldeqmakebox[B]$ h(t) $ & circlenode[linewidth=0.8pt]C$mathbf + $ & [name=Sa]
fcolorboxblackGoldeqmakebox[B]Sampling & [name=Eq] fcolorboxblackGoldeqmakebox[B]Equalizer & pnode[0,0.8ex]T
%%% Connections
nclinewC
nclineSHnaput$x_k$
nclineHC
nclineCSanaput$y(t)$
nclineSaEqnaput$y_k$
nclineEqTnaput$mkern1.5muwidehatmkern-1.5mu x_k$
endpsmatrix
endsansmath
enddocument
A simple solution with pstricks
:
documentclass[border=3pt, svgnames]standalone
usepackagepst-node, auto-pst-pdf
usepackageeqparbox, amssymb
usepackagesansmath
begindocument
beginsansmath
sffamilyitshape
pssetcolsep=1cm, rowsep=1cm, linewidth=0.5pt, arrows=->, arrowinset=0.12, nodesep=2pt, labelsep=2pt
beginpsmatrix[mnode=R]
%%% Matrix nodes
& &[name=w] $w(t)$ \
pnode[0,0.8ex]S & [name=H]fcolorboxblackGoldeqmakebox[B]$ h(t) $ & circlenode[linewidth=0.8pt]C$mathbf + $ & [name=Sa]
fcolorboxblackGoldeqmakebox[B]Sampling & [name=Eq] fcolorboxblackGoldeqmakebox[B]Equalizer & pnode[0,0.8ex]T
%%% Connections
nclinewC
nclineSHnaput$x_k$
nclineHC
nclineCSanaput$y(t)$
nclineSaEqnaput$y_k$
nclineEqTnaput$mkern1.5muwidehatmkern-1.5mu x_k$
endpsmatrix
endsansmath
enddocument
answered Jan 30 at 15:21
BernardBernard
170k774201
170k774201
I like very much your output of your code. :-) very nice sansmath.
– Sebastiano
Jan 30 at 17:14
1
Thank you for your kind appreciation, @Sebastiano!
– Bernard
Jan 30 at 17:17
I always hope as I do with my students to give Caesar what is Caesar's.
– Sebastiano
Jan 30 at 17:18
add a comment |
I like very much your output of your code. :-) very nice sansmath.
– Sebastiano
Jan 30 at 17:14
1
Thank you for your kind appreciation, @Sebastiano!
– Bernard
Jan 30 at 17:17
I always hope as I do with my students to give Caesar what is Caesar's.
– Sebastiano
Jan 30 at 17:18
I like very much your output of your code. :-) very nice sansmath.
– Sebastiano
Jan 30 at 17:14
I like very much your output of your code. :-) very nice sansmath.
– Sebastiano
Jan 30 at 17:14
1
1
Thank you for your kind appreciation, @Sebastiano!
– Bernard
Jan 30 at 17:17
Thank you for your kind appreciation, @Sebastiano!
– Bernard
Jan 30 at 17:17
I always hope as I do with my students to give Caesar what is Caesar's.
– Sebastiano
Jan 30 at 17:18
I always hope as I do with my students to give Caesar what is Caesar's.
– Sebastiano
Jan 30 at 17:18
add a comment |
A starting point could be with this:
documentclass[tikz,14pt,border=10pt]standalone
usepackagetextcomp
usetikzlibraryshapes,arrows
usetikzlibrarypositioning
begindocument
% Definition of blocks:
tikzset%
block/.style = draw, thick, rectangle, minimum height = 1em,
minimum width = 6em, fill=yellow!30!white,,
sum/.style = draw, circle, node distance = 2cm, % Adder
input/.style = coordinate, % Input
output/.style = coordinate % Output
% Defining string as labels of certain blocks.
newcommandsumaLarge$+$
begintikzpicture[auto, thick, node distance=2cm, >=triangle 45]
draw
% Drawing the blocks of first filter :
node at (0,0)
node [input, name=input1]
node [block, right = 1cm of input1] (inte2) $h(t)$
node [sum, right = 1cm of inte2] (suma1) suma
node [input, name=input2, above = 1cm of suma1]
node [block, right = 1cm of suma1] (inte1) Sampling
node [block, right = 1cm of inte1] (Q1) Equalizer
node [output, name=output1, right = 1cm of Q1] ;
% Joining blocks.
% Commands draw with options like [->] must be written individually
draw[->](input1) -- node $x_k$(inte2);
draw[->](inte2) -- node (suma1);
draw[->](suma1) -- node $y(t)$ (inte1);
draw[->](inte1) -- node $y_k$ (Q1);
draw[->](Q1) -- node $hat x_k$ (output1);
draw[->](input2) -- node $w(t)$ (suma1);
endtikzpicture
enddocument
which will give you:
From this I hope you can start editing and customising it on your own.
1
My compliments for you. I have seen your progress with LaTeX :-). Regards.
– Sebastiano
Jan 30 at 17:14
1
@Sebastian thanks :) just started going through the manuals ;)
– Raaja
Jan 30 at 17:15
add a comment |
A starting point could be with this:
documentclass[tikz,14pt,border=10pt]standalone
usepackagetextcomp
usetikzlibraryshapes,arrows
usetikzlibrarypositioning
begindocument
% Definition of blocks:
tikzset%
block/.style = draw, thick, rectangle, minimum height = 1em,
minimum width = 6em, fill=yellow!30!white,,
sum/.style = draw, circle, node distance = 2cm, % Adder
input/.style = coordinate, % Input
output/.style = coordinate % Output
% Defining string as labels of certain blocks.
newcommandsumaLarge$+$
begintikzpicture[auto, thick, node distance=2cm, >=triangle 45]
draw
% Drawing the blocks of first filter :
node at (0,0)
node [input, name=input1]
node [block, right = 1cm of input1] (inte2) $h(t)$
node [sum, right = 1cm of inte2] (suma1) suma
node [input, name=input2, above = 1cm of suma1]
node [block, right = 1cm of suma1] (inte1) Sampling
node [block, right = 1cm of inte1] (Q1) Equalizer
node [output, name=output1, right = 1cm of Q1] ;
% Joining blocks.
% Commands draw with options like [->] must be written individually
draw[->](input1) -- node $x_k$(inte2);
draw[->](inte2) -- node (suma1);
draw[->](suma1) -- node $y(t)$ (inte1);
draw[->](inte1) -- node $y_k$ (Q1);
draw[->](Q1) -- node $hat x_k$ (output1);
draw[->](input2) -- node $w(t)$ (suma1);
endtikzpicture
enddocument
which will give you:
From this I hope you can start editing and customising it on your own.
1
My compliments for you. I have seen your progress with LaTeX :-). Regards.
– Sebastiano
Jan 30 at 17:14
1
@Sebastian thanks :) just started going through the manuals ;)
– Raaja
Jan 30 at 17:15
add a comment |
A starting point could be with this:
documentclass[tikz,14pt,border=10pt]standalone
usepackagetextcomp
usetikzlibraryshapes,arrows
usetikzlibrarypositioning
begindocument
% Definition of blocks:
tikzset%
block/.style = draw, thick, rectangle, minimum height = 1em,
minimum width = 6em, fill=yellow!30!white,,
sum/.style = draw, circle, node distance = 2cm, % Adder
input/.style = coordinate, % Input
output/.style = coordinate % Output
% Defining string as labels of certain blocks.
newcommandsumaLarge$+$
begintikzpicture[auto, thick, node distance=2cm, >=triangle 45]
draw
% Drawing the blocks of first filter :
node at (0,0)
node [input, name=input1]
node [block, right = 1cm of input1] (inte2) $h(t)$
node [sum, right = 1cm of inte2] (suma1) suma
node [input, name=input2, above = 1cm of suma1]
node [block, right = 1cm of suma1] (inte1) Sampling
node [block, right = 1cm of inte1] (Q1) Equalizer
node [output, name=output1, right = 1cm of Q1] ;
% Joining blocks.
% Commands draw with options like [->] must be written individually
draw[->](input1) -- node $x_k$(inte2);
draw[->](inte2) -- node (suma1);
draw[->](suma1) -- node $y(t)$ (inte1);
draw[->](inte1) -- node $y_k$ (Q1);
draw[->](Q1) -- node $hat x_k$ (output1);
draw[->](input2) -- node $w(t)$ (suma1);
endtikzpicture
enddocument
which will give you:
From this I hope you can start editing and customising it on your own.
A starting point could be with this:
documentclass[tikz,14pt,border=10pt]standalone
usepackagetextcomp
usetikzlibraryshapes,arrows
usetikzlibrarypositioning
begindocument
% Definition of blocks:
tikzset%
block/.style = draw, thick, rectangle, minimum height = 1em,
minimum width = 6em, fill=yellow!30!white,,
sum/.style = draw, circle, node distance = 2cm, % Adder
input/.style = coordinate, % Input
output/.style = coordinate % Output
% Defining string as labels of certain blocks.
newcommandsumaLarge$+$
begintikzpicture[auto, thick, node distance=2cm, >=triangle 45]
draw
% Drawing the blocks of first filter :
node at (0,0)
node [input, name=input1]
node [block, right = 1cm of input1] (inte2) $h(t)$
node [sum, right = 1cm of inte2] (suma1) suma
node [input, name=input2, above = 1cm of suma1]
node [block, right = 1cm of suma1] (inte1) Sampling
node [block, right = 1cm of inte1] (Q1) Equalizer
node [output, name=output1, right = 1cm of Q1] ;
% Joining blocks.
% Commands draw with options like [->] must be written individually
draw[->](input1) -- node $x_k$(inte2);
draw[->](inte2) -- node (suma1);
draw[->](suma1) -- node $y(t)$ (inte1);
draw[->](inte1) -- node $y_k$ (Q1);
draw[->](Q1) -- node $hat x_k$ (output1);
draw[->](input2) -- node $w(t)$ (suma1);
endtikzpicture
enddocument
which will give you:
From this I hope you can start editing and customising it on your own.
answered Jan 30 at 12:58
RaajaRaaja
4,13121038
4,13121038
1
My compliments for you. I have seen your progress with LaTeX :-). Regards.
– Sebastiano
Jan 30 at 17:14
1
@Sebastian thanks :) just started going through the manuals ;)
– Raaja
Jan 30 at 17:15
add a comment |
1
My compliments for you. I have seen your progress with LaTeX :-). Regards.
– Sebastiano
Jan 30 at 17:14
1
@Sebastian thanks :) just started going through the manuals ;)
– Raaja
Jan 30 at 17:15
1
1
My compliments for you. I have seen your progress with LaTeX :-). Regards.
– Sebastiano
Jan 30 at 17:14
My compliments for you. I have seen your progress with LaTeX :-). Regards.
– Sebastiano
Jan 30 at 17:14
1
1
@Sebastian thanks :) just started going through the manuals ;)
– Raaja
Jan 30 at 17:15
@Sebastian thanks :) just started going through the manuals ;)
– Raaja
Jan 30 at 17:15
add a comment |
Thanks for contributing an answer to TeX - LaTeX Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f472553%2fhow-to-draw-box-diagram-with-parameters%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
Welcome to TeX.SE! What have you tried so far?
– Kurt
Jan 30 at 12:23