04-13-2012 12:12 AM
HI,
I would to ask how I can input equations into matrix in labview. I have a 3x3 matrix where I want to input formulas into specific row and columns.
Can anyone help me?
04-13-2012 07:00 AM - edited 04-13-2012 07:01 AM
You're going to need to explain your question more clearly, as I, for one, have no idea what you are talking about. What do you mean by entering formulas into specific rows and columns? What exactly is this supposed to do? Are you sure you're not looking for a Wolfram board?
Is this homework?
04-13-2012 09:19 PM
I have a 3x3 matrix where some of the digits are made of formulas. I have the formulas but I am not sure of how I can input the formulas into the specific place. e.g. I need to input a formula into column 1 row 2. How do I do that?
04-14-2012 08:27 AM
I'm sorry, but I still have no idea what you are talking about. Please provide a clear example of what you are trying to do.
04-14-2012 08:37 AM
Pls refer to equation 26 in the pdf. I want to input the formulas in a21 a22... how do I do that in LV?
04-14-2012 05:24 PM
LabVIEW is not a symbolic math language so you need to do something like this in two steps.
1. Calculate a21, a23, a32, a33, b31, and d21 and place the numerical results in the matrix.
2. Do the matrix calculations.
Since you are dealing with a differential equation, you may need to do a numerical solution to the equation.
Lynn
04-15-2012 08:20 AM
Perhaps you should be looking at Mathematica, or Matlab instead?
04-15-2012 09:08 PM
I know I can do it in matlab but I was thinking if I could do this in labview.
04-15-2012 10:05 PM
I recently converted a MATLAB program which had formulas in an array or matrix using the 2 step process I described above. It works fine. We did find a bug in the algorithm the other guy developed in MATLAB, but that had nothing to do with how to implement the calculations.
Lynn
04-16-2012 12:23 AM
I did the calculations manually in excel already. So all I need to do is to input the values into matrix figures in labview? What if the values are variable such as a change in F. Do I redo the calculations again?