MathCAD help Multiplying matrices with variables.

Click For Summary

Discussion Overview

The discussion revolves around using MathCAD to multiply a diagonalized 3x3 matrix containing variables with another matrix filled with numerical values. Participants explore methods to perform this operation while addressing issues related to variable definitions and symbolic computation.

Discussion Character

  • Technical explanation, Homework-related, Debate/contested

Main Points Raised

  • One participant expresses difficulty in multiplying a matrix of variables with a numerical matrix, noting that MathCAD indicates the variables are undefined.
  • Another suggests defining the variables individually before incorporating them into the matrix to resolve the issue.
  • A different participant questions whether it is possible to achieve the multiplication without defining the variables, as they prefer to keep the variables in the resulting expression.
  • Another response mentions the importance of defining symbolic variables, suggesting a matrix structure with symbolic entries.
  • Several participants express a desire for further assistance or clarification on the topic.
  • One participant shares a link to a resource with examples, although they do not use MathCAD themselves.

Areas of Agreement / Disagreement

The discussion reflects a lack of consensus on the best approach to multiply the matrices while retaining the variables. Multiple viewpoints exist regarding the necessity of defining variables versus keeping them symbolic.

Contextual Notes

Participants have not resolved the issue of how to handle undefined variables in MathCAD, and there are differing opinions on the implications of defining variables beforehand.

Who May Find This Useful

This discussion may be useful for MathCAD users, particularly those interested in symbolic computation and matrix operations involving variables.

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 ·
Replies
6
Views
7K
  • · Replies 3 ·
Replies
3
Views
10K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 19 ·
Replies
19
Views
4K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 45 ·
2
Replies
45
Views
7K
  • · Replies 13 ·
Replies
13
Views
3K
  • · Replies 4 ·
Replies
4
Views
6K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 80 ·
3
Replies
80
Views
8K