- #1
- 348
- 0
The problem: I need to find the (minimal) rank of some matrix which is basically all parameters. For example, when i ask for the rank of [tex]\begin{pmatrix} a& b& c \\ d& e& f \\ g& h& i \end{pmatrix}[/tex], I get 3. I would like to get 1, since (excluding the possibility of a matrix of all 0's) it could be the case that row two is a multiple of row one, etc. Is there anyway to do this? If not, does anyone have any idea for a good script that could accomplish this?
I know Mathematica is advanced enough to recognize things like multiple of rows on its own. For instance, if I input a general rank one matrix [tex]\begin{pmatrix} s_1t_1& s_1t_2& s_1t_3 \\ s_2t_1& s_2t_2& s_2t_3 \\ s_3t_1& s_3t_2& s_3t_3 \end{pmatrix}[/tex], I get 1.
I know Mathematica is advanced enough to recognize things like multiple of rows on its own. For instance, if I input a general rank one matrix [tex]\begin{pmatrix} s_1t_1& s_1t_2& s_1t_3 \\ s_2t_1& s_2t_2& s_2t_3 \\ s_3t_1& s_3t_2& s_3t_3 \end{pmatrix}[/tex], I get 1.