10-29-2013 04:17 AM
I would like to create a program to calculate 3x3 matrix determinant. I know labview provided this function but i want to build myself. Any idea?
10-29-2013 04:37 AM
Maybe this will help you:
Remember!!: this is only true with matrices from 3x3.
You could use "get matrix diagonal" and "get matrix elements"
10-29-2013 09:55 AM
How about an array and a FOR-Loop? Here's a brute-force attempt:
Regards,
Alex
10-29-2013 10:13 AM
Look at the Wikipedia article on determinants. In the Calculation section you will find discussion of alternate methods which are considerably more efficient for large matrices. For your 3x3 matrix that is not an issue, but if you are interested in numerical calculation techniques, you should study those other methods. Very often using the definition of a mathematical process is far from the best way to calculate the result numerically on a computer.
Lynn
10-30-2013 07:18 AM
The Numerical Recipes books offer code snippets and algorithms designed for efficient computer use. You will need to translate from C/Fortran to LabVIEW, but that is usually fairly straightforward. The "obsolete" versions are online with full text.
10-30-2013 06:45 PM
There's a built-in Determinant function.
Functions -> Mathematics -> Linear Algebra -> Determinant
10-31-2013 02:41 AM
There's a built-in Determinant function.
Functions -> Mathematics -> Linear Algebra -> Determinant
This is what the OP said:
I know labview provided this function but i want to build myself.
10-31-2013 08:40 AM
I noticed that after I clicked "Post".
Sorry for the wasted electrons (at least they were recycled).