Math software help
I'm currently searching for a software that can help test general statement that can also handle matrices. I want to be able to input an expression with several unknowns e.g. given the general expression A=B*C (with different unknowns inside), then have the option of trying different values of the unknowns and see if the statement is valid. Basically, what I want to do is to test the range of values of unknowns for which the statement is valid.
Do you guys know a program that can do that (or some ways)?
The following packages work well with matracies:
I think in your case you are saying that there are some unknowns inside a matrix that need to be solved, so I would recommend having a look into the symbolic maths toolbox with MATLAB to see if it provides support for your problem. If you post an example, you might get some more problem specific advice from users who have dealt with similar problems in the past.
3) Python + Numpy
thanks for the quick reply!
I think I phrased it a bit badly in the last post: i meant variables inside the matrix.
For example if I had a general statement:
A = dB+C^n
and say B = (2 2)
and C = (2 3 )
and A = (d d)
what i want to do is to input different values of d and n to see for which range of values this general statement works
Sorry about the bad example, but I don't actually have a general statement yet (Doh)
Sorry for the double post, but I just downloaded octave, and am a little stuck on how to use it.
All I have managed to do is to specify values for matrix A = [2,2;2,2] and B=[3,3;3,3], but I am clueless on how to make an expression, say C^n = A^n+B^n where n is a variable constant and C is a variable matrix. I want to be able to input different values for these, and then have octave go through it and print valid! or invalid!, something like that. Specifically, I'm stuck on how to make an expression and the continous checking bit. Please help!
Try something like this:
Originally Posted by extremenoob
LL = all(all(DD))