How to draw this special matrix with horizontal line and vertical line in it?Same height for list of...
How did Arya manage the sneak attack?
Implementing equality testing and hashing of float attributes without checking the floats with ==
Phrase for the opposite of "foolproof"
Need help understanding harmonic series and intervals
What is a Recurrent Neural Network?
Why does Bran Stark feel that Jon Snow "needs to know" about his lineage?
Why does nature favour the Laplacian?
How can Republicans who favour free markets, consistently express anger when they don't like the outcome of that choice?
Is thermodynamics only applicable to systems in equilibrium?
Can a creature tell when it has been affected by a Divination wizard's Portent?
Why does processed meat contain preservatives, while canned fish needs not?
how can i test catch block?
What is the difference between `a[bc]d` (brackets) and `a{b,c}d` (braces)?
Why do freehub and cassette have only one position that matches?
Is GOCE a satellite or aircraft?
Examples of non trivial equivalence relations , I mean equivalence relations without the expression " same ... as" in their definition?
Were there two appearances of Stan Lee?
Any examples of headwear for races with animal ears?
How to create an ad-hoc wireless network in Ubuntu
Confused by notation of atomic number Z and mass number A on periodic table of elements
Does a creature that is immune to a condition still make a saving throw?
What are the spoon bit of a spoon and fork bit of a fork called?
"ne paelici suspectaretur" (Tacitus)
Colliding particles and activation energy
How to draw this special matrix with horizontal line and vertical line in it?
Same height for list of comma-separated vectorsHow do I draw horizontal and vertical lines for a TikZ matrixVertical line in matrix in gauss packageMatrix with vertical line in the middleHow to reduce vertical space in matrix?Split a matrix block in TikZ into two blocks, is possible or better way to do this diagram?Dot's in center of a matrix?Equal matrix column width and draw vertical lineA matrix with breaking line and matrix transformationsHow to have a dotted line separate a matrix into upper and lower part
I have tried with blockarray like
begin{align*}
B=
left[begin{blockarray}{ccccc}
a_{s_0} & a_{s_0+1} & cdots &cdots &a_{s_0+n}\
%begin{blockarray}{cccccc}
%begin{block}{ccccc|c}
begin{block}{cccc|c}
cline{1-4}
a_{s_0+1} & a_{s_0+2}&cdots &cdots &a_{s_0+n+1}\
vdots & vdots & & & \
0 & 0 &cdots & 0 & b \
vdots & vdots & & & \
a_{s_0+n} &a_{s_0+n+1} &cdots &cdots & a_{s_0+2n}\
%end{block}
%end{blockarray}
end{block}
end{blockarray}right]
end{align*}
but I'm not able to handle the vertical line.

matrices tikz-matrix
add a comment |
I have tried with blockarray like
begin{align*}
B=
left[begin{blockarray}{ccccc}
a_{s_0} & a_{s_0+1} & cdots &cdots &a_{s_0+n}\
%begin{blockarray}{cccccc}
%begin{block}{ccccc|c}
begin{block}{cccc|c}
cline{1-4}
a_{s_0+1} & a_{s_0+2}&cdots &cdots &a_{s_0+n+1}\
vdots & vdots & & & \
0 & 0 &cdots & 0 & b \
vdots & vdots & & & \
a_{s_0+n} &a_{s_0+n+1} &cdots &cdots & a_{s_0+2n}\
%end{block}
%end{blockarray}
end{block}
end{blockarray}right]
end{align*}
but I'm not able to handle the vertical line.

matrices tikz-matrix
add a comment |
I have tried with blockarray like
begin{align*}
B=
left[begin{blockarray}{ccccc}
a_{s_0} & a_{s_0+1} & cdots &cdots &a_{s_0+n}\
%begin{blockarray}{cccccc}
%begin{block}{ccccc|c}
begin{block}{cccc|c}
cline{1-4}
a_{s_0+1} & a_{s_0+2}&cdots &cdots &a_{s_0+n+1}\
vdots & vdots & & & \
0 & 0 &cdots & 0 & b \
vdots & vdots & & & \
a_{s_0+n} &a_{s_0+n+1} &cdots &cdots & a_{s_0+2n}\
%end{block}
%end{blockarray}
end{block}
end{blockarray}right]
end{align*}
but I'm not able to handle the vertical line.

matrices tikz-matrix
I have tried with blockarray like
begin{align*}
B=
left[begin{blockarray}{ccccc}
a_{s_0} & a_{s_0+1} & cdots &cdots &a_{s_0+n}\
%begin{blockarray}{cccccc}
%begin{block}{ccccc|c}
begin{block}{cccc|c}
cline{1-4}
a_{s_0+1} & a_{s_0+2}&cdots &cdots &a_{s_0+n+1}\
vdots & vdots & & & \
0 & 0 &cdots & 0 & b \
vdots & vdots & & & \
a_{s_0+n} &a_{s_0+n+1} &cdots &cdots & a_{s_0+2n}\
%end{block}
%end{blockarray}
end{block}
end{blockarray}right]
end{align*}
but I'm not able to handle the vertical line.

matrices tikz-matrix
matrices tikz-matrix
edited 25 mins ago
siracusa
5,41811529
5,41811529
asked 27 mins ago
mbfkkmbfkk
1212
1212
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
You don't really need blkarray for that: an ordinary array will do:
documentclass{article}
usepackage{mathtools}
begin{document}
begin{align*}
B=
left[begin{array}{c|ccc|c}
a_{s_0} & a_{s_0+1} & cdots & multicolumn{1}{c}{cdots} &a_{s_0+n}\
cline{1-4}
a_{s_0+1} & a_{s_0+2}&cdots &cdots &a_{s_0+n+1}\
vdots & vdots & & & vdots \
0 & 0 &cdots & 0 & b \
vdots & vdots & & & vdots \
cline{2-5}
multicolumn{1}{c}{a_{s_0+n}} &a_{s_0+n+1} &cdots &cdots & a_{s_0+2n}\
end{array}right]
end{align*}
end{document}

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%2f488188%2fhow-to-draw-this-special-matrix-with-horizontal-line-and-vertical-line-in-it%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
You don't really need blkarray for that: an ordinary array will do:
documentclass{article}
usepackage{mathtools}
begin{document}
begin{align*}
B=
left[begin{array}{c|ccc|c}
a_{s_0} & a_{s_0+1} & cdots & multicolumn{1}{c}{cdots} &a_{s_0+n}\
cline{1-4}
a_{s_0+1} & a_{s_0+2}&cdots &cdots &a_{s_0+n+1}\
vdots & vdots & & & vdots \
0 & 0 &cdots & 0 & b \
vdots & vdots & & & vdots \
cline{2-5}
multicolumn{1}{c}{a_{s_0+n}} &a_{s_0+n+1} &cdots &cdots & a_{s_0+2n}\
end{array}right]
end{align*}
end{document}

add a comment |
You don't really need blkarray for that: an ordinary array will do:
documentclass{article}
usepackage{mathtools}
begin{document}
begin{align*}
B=
left[begin{array}{c|ccc|c}
a_{s_0} & a_{s_0+1} & cdots & multicolumn{1}{c}{cdots} &a_{s_0+n}\
cline{1-4}
a_{s_0+1} & a_{s_0+2}&cdots &cdots &a_{s_0+n+1}\
vdots & vdots & & & vdots \
0 & 0 &cdots & 0 & b \
vdots & vdots & & & vdots \
cline{2-5}
multicolumn{1}{c}{a_{s_0+n}} &a_{s_0+n+1} &cdots &cdots & a_{s_0+2n}\
end{array}right]
end{align*}
end{document}

add a comment |
You don't really need blkarray for that: an ordinary array will do:
documentclass{article}
usepackage{mathtools}
begin{document}
begin{align*}
B=
left[begin{array}{c|ccc|c}
a_{s_0} & a_{s_0+1} & cdots & multicolumn{1}{c}{cdots} &a_{s_0+n}\
cline{1-4}
a_{s_0+1} & a_{s_0+2}&cdots &cdots &a_{s_0+n+1}\
vdots & vdots & & & vdots \
0 & 0 &cdots & 0 & b \
vdots & vdots & & & vdots \
cline{2-5}
multicolumn{1}{c}{a_{s_0+n}} &a_{s_0+n+1} &cdots &cdots & a_{s_0+2n}\
end{array}right]
end{align*}
end{document}

You don't really need blkarray for that: an ordinary array will do:
documentclass{article}
usepackage{mathtools}
begin{document}
begin{align*}
B=
left[begin{array}{c|ccc|c}
a_{s_0} & a_{s_0+1} & cdots & multicolumn{1}{c}{cdots} &a_{s_0+n}\
cline{1-4}
a_{s_0+1} & a_{s_0+2}&cdots &cdots &a_{s_0+n+1}\
vdots & vdots & & & vdots \
0 & 0 &cdots & 0 & b \
vdots & vdots & & & vdots \
cline{2-5}
multicolumn{1}{c}{a_{s_0+n}} &a_{s_0+n+1} &cdots &cdots & a_{s_0+2n}\
end{array}right]
end{align*}
end{document}

answered 6 mins ago
BernardBernard
178k779211
178k779211
add a comment |
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%2f488188%2fhow-to-draw-this-special-matrix-with-horizontal-line-and-vertical-line-in-it%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