Buliding a larger matrix from a smaller oneHow to transform this matrix & swap its columns in a simple way?Add a sub-matrix of zeros in big matrixInsert all elements from one matrix into anotherMatrix form of complex numbersExpress block matrix in terms of matrix basisOperatorial matrixPartitioned matrix operationsBuilding a matrix in block matrix formatFactor multiplied matrix with vectorMatrix Decomposition and Collect
Handling a player (unintentionally) stealing the spotlight
Why would anyone even use a Portkey?
Do the 26 richest billionaires own as much wealth as the poorest 3.8 billion people?
Ordered list of OR journals
Should fiction mention song names and iPods?
Is it possible for Leomund's Tiny Hut to be lifted?
What is the purpose of putting a capacitor on the primary side of a step-down transformer?
Who are these Discworld wizards from this picture?
Is it bad to describe a character long after their introduction?
If two black hole event horizons overlap (touch) can they ever separate again?
Movie in a trailer park named Paradise and a boy playing a video game then being recruited by aliens to fight in space
Boolean Difference with Offset?
Can two or more lightbeams (from a laser for example) have visible interference when they cross in mid-air*?
Procedurally generate regions on island
What are good ways to spray paint a QR code on a footpath?
Find first and last non-zero column in each row of a pandas dataframe
How would an order of Monks that renounce their names communicate effectively?
Sharing referee/AE report online to point out a grievous error in refereeing
Is it legal to call shared_future::get() multiple times on the same instance in the same thread?
How to test CRUD and FLS in unit tests?
How did Lefschetz do mathematics without hands?
Can I travel from Germany to England alone as an unaccompanied minor?
Details of video memory access arbitration in Space Invaders
I hit a pipe with a mower and now it won't turn
Buliding a larger matrix from a smaller one
How to transform this matrix & swap its columns in a simple way?Add a sub-matrix of zeros in big matrixInsert all elements from one matrix into anotherMatrix form of complex numbersExpress block matrix in terms of matrix basisOperatorial matrixPartitioned matrix operationsBuilding a matrix in block matrix formatFactor multiplied matrix with vectorMatrix Decomposition and Collect
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
$begingroup$
I have my matrix $h$ of size $2Ntimes 2N$ in this form
$$h=beginpmatrix
a & b \
c & d
endpmatrix
$$
where $a,b,c,d$ are smaller matrices which i don't know.
Is there any simple way to get this matrix?
$$beginpmatrix
a &0& b&0 \
0 &a& 0&b\
c &0& d&0 \
0 &c& 0&d\
endpmatrix
$$
matrix performance-tuning
New contributor
Alexander Nikolaenko is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
$endgroup$
add a comment |
$begingroup$
I have my matrix $h$ of size $2Ntimes 2N$ in this form
$$h=beginpmatrix
a & b \
c & d
endpmatrix
$$
where $a,b,c,d$ are smaller matrices which i don't know.
Is there any simple way to get this matrix?
$$beginpmatrix
a &0& b&0 \
0 &a& 0&b\
c &0& d&0 \
0 &c& 0&d\
endpmatrix
$$
matrix performance-tuning
New contributor
Alexander Nikolaenko is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
$endgroup$
$begingroup$
Check outKroneckerProduct
$endgroup$
– chuy
9 hours ago
add a comment |
$begingroup$
I have my matrix $h$ of size $2Ntimes 2N$ in this form
$$h=beginpmatrix
a & b \
c & d
endpmatrix
$$
where $a,b,c,d$ are smaller matrices which i don't know.
Is there any simple way to get this matrix?
$$beginpmatrix
a &0& b&0 \
0 &a& 0&b\
c &0& d&0 \
0 &c& 0&d\
endpmatrix
$$
matrix performance-tuning
New contributor
Alexander Nikolaenko is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
$endgroup$
I have my matrix $h$ of size $2Ntimes 2N$ in this form
$$h=beginpmatrix
a & b \
c & d
endpmatrix
$$
where $a,b,c,d$ are smaller matrices which i don't know.
Is there any simple way to get this matrix?
$$beginpmatrix
a &0& b&0 \
0 &a& 0&b\
c &0& d&0 \
0 &c& 0&d\
endpmatrix
$$
matrix performance-tuning
matrix performance-tuning
New contributor
Alexander Nikolaenko is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Alexander Nikolaenko is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Alexander Nikolaenko is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
asked 9 hours ago
Alexander NikolaenkoAlexander Nikolaenko
182 bronze badges
182 bronze badges
New contributor
Alexander Nikolaenko is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Alexander Nikolaenko is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
$begingroup$
Check outKroneckerProduct
$endgroup$
– chuy
9 hours ago
add a comment |
$begingroup$
Check outKroneckerProduct
$endgroup$
– chuy
9 hours ago
$begingroup$
Check out
KroneckerProduct$endgroup$
– chuy
9 hours ago
$begingroup$
Check out
KroneckerProduct$endgroup$
– chuy
9 hours ago
add a comment |
1 Answer
1
active
oldest
votes
$begingroup$
MatrixForm[h = a, b, c, d]
$ h=left(
beginarraycc
a & b \
c & d \
endarray
right)$
KroneckerProduct[h, IdentityMatrix@2] // MatrixForm
$ left(
beginarraycccc
a & 0 & b & 0 \
0 & a & 0 & b \
c & 0 & d & 0 \
0 & c & 0 & d \
endarray
right)$
$endgroup$
$begingroup$
thank you,it is exactly what i wanted!
$endgroup$
– Alexander Nikolaenko
8 hours ago
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "387"
;
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
);
);
Alexander Nikolaenko is a new contributor. Be nice, and check out our Code of Conduct.
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%2fmathematica.stackexchange.com%2fquestions%2f200978%2fbuliding-a-larger-matrix-from-a-smaller-one%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
$begingroup$
MatrixForm[h = a, b, c, d]
$ h=left(
beginarraycc
a & b \
c & d \
endarray
right)$
KroneckerProduct[h, IdentityMatrix@2] // MatrixForm
$ left(
beginarraycccc
a & 0 & b & 0 \
0 & a & 0 & b \
c & 0 & d & 0 \
0 & c & 0 & d \
endarray
right)$
$endgroup$
$begingroup$
thank you,it is exactly what i wanted!
$endgroup$
– Alexander Nikolaenko
8 hours ago
add a comment |
$begingroup$
MatrixForm[h = a, b, c, d]
$ h=left(
beginarraycc
a & b \
c & d \
endarray
right)$
KroneckerProduct[h, IdentityMatrix@2] // MatrixForm
$ left(
beginarraycccc
a & 0 & b & 0 \
0 & a & 0 & b \
c & 0 & d & 0 \
0 & c & 0 & d \
endarray
right)$
$endgroup$
$begingroup$
thank you,it is exactly what i wanted!
$endgroup$
– Alexander Nikolaenko
8 hours ago
add a comment |
$begingroup$
MatrixForm[h = a, b, c, d]
$ h=left(
beginarraycc
a & b \
c & d \
endarray
right)$
KroneckerProduct[h, IdentityMatrix@2] // MatrixForm
$ left(
beginarraycccc
a & 0 & b & 0 \
0 & a & 0 & b \
c & 0 & d & 0 \
0 & c & 0 & d \
endarray
right)$
$endgroup$
MatrixForm[h = a, b, c, d]
$ h=left(
beginarraycc
a & b \
c & d \
endarray
right)$
KroneckerProduct[h, IdentityMatrix@2] // MatrixForm
$ left(
beginarraycccc
a & 0 & b & 0 \
0 & a & 0 & b \
c & 0 & d & 0 \
0 & c & 0 & d \
endarray
right)$
answered 9 hours ago
Okkes DulgerciOkkes Dulgerci
5,8381 gold badge10 silver badges20 bronze badges
5,8381 gold badge10 silver badges20 bronze badges
$begingroup$
thank you,it is exactly what i wanted!
$endgroup$
– Alexander Nikolaenko
8 hours ago
add a comment |
$begingroup$
thank you,it is exactly what i wanted!
$endgroup$
– Alexander Nikolaenko
8 hours ago
$begingroup$
thank you,it is exactly what i wanted!
$endgroup$
– Alexander Nikolaenko
8 hours ago
$begingroup$
thank you,it is exactly what i wanted!
$endgroup$
– Alexander Nikolaenko
8 hours ago
add a comment |
Alexander Nikolaenko is a new contributor. Be nice, and check out our Code of Conduct.
Alexander Nikolaenko is a new contributor. Be nice, and check out our Code of Conduct.
Alexander Nikolaenko is a new contributor. Be nice, and check out our Code of Conduct.
Alexander Nikolaenko is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Mathematica 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.
Use MathJax to format equations. MathJax reference.
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%2fmathematica.stackexchange.com%2fquestions%2f200978%2fbuliding-a-larger-matrix-from-a-smaller-one%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
$begingroup$
Check out
KroneckerProduct$endgroup$
– chuy
9 hours ago