Simplifying expression containing a diagonal matrix











up vote
-1
down vote

favorite












Suppose I have the matrix expression $A*mathsf{diag}(B*C)$, where $A$ is $mathrm{3xn}$, $B$ is $mathrm{nx3}$, and $C$ is $mathrm{3x1}$.



I wish to simplify this to have the form: $mathsf{diag}(C)*D$, where $D$ is $mathrm{3xn}$. (Or any other form containing only $C$ and $D$.)



Is there some way to express $D$ in terms of $A$ and $B$ alone (not $C$)?










share|cite|improve this question
























  • What is the meaning of $text{diag}(C)$ when $C$ is a $3times1$ matrix ???
    – Yves Daoust
    Nov 13 at 13:49










  • diag(C) is a 3x3 diagonal matrix with the three values of C on the main diagonal.
    – 8bar
    Nov 13 at 15:38












  • Then you shouldn't say otherwise in the question.
    – Yves Daoust
    Nov 13 at 16:34










  • Huh? No contradiction. diag(C) is 3x3 and C is 3x1. No reason to down-vote the question! See octave.org/doc/v4.0.0/Creating-Diagonal-Matrices.html
    – 8bar
    Nov 13 at 17:19

















up vote
-1
down vote

favorite












Suppose I have the matrix expression $A*mathsf{diag}(B*C)$, where $A$ is $mathrm{3xn}$, $B$ is $mathrm{nx3}$, and $C$ is $mathrm{3x1}$.



I wish to simplify this to have the form: $mathsf{diag}(C)*D$, where $D$ is $mathrm{3xn}$. (Or any other form containing only $C$ and $D$.)



Is there some way to express $D$ in terms of $A$ and $B$ alone (not $C$)?










share|cite|improve this question
























  • What is the meaning of $text{diag}(C)$ when $C$ is a $3times1$ matrix ???
    – Yves Daoust
    Nov 13 at 13:49










  • diag(C) is a 3x3 diagonal matrix with the three values of C on the main diagonal.
    – 8bar
    Nov 13 at 15:38












  • Then you shouldn't say otherwise in the question.
    – Yves Daoust
    Nov 13 at 16:34










  • Huh? No contradiction. diag(C) is 3x3 and C is 3x1. No reason to down-vote the question! See octave.org/doc/v4.0.0/Creating-Diagonal-Matrices.html
    – 8bar
    Nov 13 at 17:19















up vote
-1
down vote

favorite









up vote
-1
down vote

favorite











Suppose I have the matrix expression $A*mathsf{diag}(B*C)$, where $A$ is $mathrm{3xn}$, $B$ is $mathrm{nx3}$, and $C$ is $mathrm{3x1}$.



I wish to simplify this to have the form: $mathsf{diag}(C)*D$, where $D$ is $mathrm{3xn}$. (Or any other form containing only $C$ and $D$.)



Is there some way to express $D$ in terms of $A$ and $B$ alone (not $C$)?










share|cite|improve this question















Suppose I have the matrix expression $A*mathsf{diag}(B*C)$, where $A$ is $mathrm{3xn}$, $B$ is $mathrm{nx3}$, and $C$ is $mathrm{3x1}$.



I wish to simplify this to have the form: $mathsf{diag}(C)*D$, where $D$ is $mathrm{3xn}$. (Or any other form containing only $C$ and $D$.)



Is there some way to express $D$ in terms of $A$ and $B$ alone (not $C$)?







matrix-equations






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Nov 13 at 13:20

























asked Nov 13 at 10:34









8bar

417




417












  • What is the meaning of $text{diag}(C)$ when $C$ is a $3times1$ matrix ???
    – Yves Daoust
    Nov 13 at 13:49










  • diag(C) is a 3x3 diagonal matrix with the three values of C on the main diagonal.
    – 8bar
    Nov 13 at 15:38












  • Then you shouldn't say otherwise in the question.
    – Yves Daoust
    Nov 13 at 16:34










  • Huh? No contradiction. diag(C) is 3x3 and C is 3x1. No reason to down-vote the question! See octave.org/doc/v4.0.0/Creating-Diagonal-Matrices.html
    – 8bar
    Nov 13 at 17:19




















  • What is the meaning of $text{diag}(C)$ when $C$ is a $3times1$ matrix ???
    – Yves Daoust
    Nov 13 at 13:49










  • diag(C) is a 3x3 diagonal matrix with the three values of C on the main diagonal.
    – 8bar
    Nov 13 at 15:38












  • Then you shouldn't say otherwise in the question.
    – Yves Daoust
    Nov 13 at 16:34










  • Huh? No contradiction. diag(C) is 3x3 and C is 3x1. No reason to down-vote the question! See octave.org/doc/v4.0.0/Creating-Diagonal-Matrices.html
    – 8bar
    Nov 13 at 17:19


















What is the meaning of $text{diag}(C)$ when $C$ is a $3times1$ matrix ???
– Yves Daoust
Nov 13 at 13:49




What is the meaning of $text{diag}(C)$ when $C$ is a $3times1$ matrix ???
– Yves Daoust
Nov 13 at 13:49












diag(C) is a 3x3 diagonal matrix with the three values of C on the main diagonal.
– 8bar
Nov 13 at 15:38






diag(C) is a 3x3 diagonal matrix with the three values of C on the main diagonal.
– 8bar
Nov 13 at 15:38














Then you shouldn't say otherwise in the question.
– Yves Daoust
Nov 13 at 16:34




Then you shouldn't say otherwise in the question.
– Yves Daoust
Nov 13 at 16:34












Huh? No contradiction. diag(C) is 3x3 and C is 3x1. No reason to down-vote the question! See octave.org/doc/v4.0.0/Creating-Diagonal-Matrices.html
– 8bar
Nov 13 at 17:19






Huh? No contradiction. diag(C) is 3x3 and C is 3x1. No reason to down-vote the question! See octave.org/doc/v4.0.0/Creating-Diagonal-Matrices.html
– 8bar
Nov 13 at 17:19

















active

oldest

votes











Your Answer





StackExchange.ifUsing("editor", function () {
return StackExchange.using("mathjaxEditing", function () {
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
});
});
}, "mathjax-editing");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "69"
};
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',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
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
},
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














 

draft saved


draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2996579%2fsimplifying-expression-containing-a-diagonal-matrix%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown






























active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes
















 

draft saved


draft discarded



















































 


draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2996579%2fsimplifying-expression-containing-a-diagonal-matrix%23new-answer', 'question_page');
}
);

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







Popular posts from this blog

Index of /

Tribalistas

Listed building