MathCAD help Multiplying matrices with variables.

AI Thread Summary
In this discussion, a novice MathCAD user seeks assistance with multiplying a diagonalized 3x3 matrix of variables by a numerical matrix. The user encounters an issue where MathCAD indicates that the variables are undefined, preventing the multiplication. The goal is to perform this operation while retaining the variables in the result, rather than defining them beforehand, which would eliminate them from the operation. Suggestions include defining the variables as symbolic before creating the matrix to avoid the undefined variable error. Additionally, a resource link is provided for further examples, although the responder does not use MathCAD themselves. The conversation emphasizes the importance of understanding symbolic variables in matrix operations within MathCAD.
jennyp
Messages
5
Reaction score
0
I am fairly novice user of MathCAD. I am using version 14. I am trying to multiply a diagonalized 3x3 matrix containing only variables with another matrix completely populated with numbers and no variables. However, when I create the 3x3 matrix with only variables, the variables are highlighted and MathCAD tells me “the variable is undefined”. I am hoping to multiply these to matrices and have a result with the variables multiplied by constants. I know this can easily be done by hand, but I would like to learn how to do this with MathCAD so I can be prepared when I have to multiply larger matrices in the future. Any thoughts?
 
Physics news on Phys.org
First define your variables one by one then later put them into the matrix
 
Is there a way to do it without defining the variables? I would like a solution that contains the variables in it, and if I define the variables beforehand, then they are eliminated in the operation.
 
I don't get your question exactly and I don't use MathCAD but it is a common mistake. what I mean is define a b c d as symblolic variable. Then A = [a b;c d].
 
Bump for any help. Thanks!
 
Any ideas?!?
 

Similar threads

Replies
6
Views
7K
Replies
3
Views
9K
Replies
10
Views
2K
Replies
2
Views
1K
Replies
13
Views
3K
Replies
4
Views
6K
Back
Top