### MATLAB >> CRAMERS Rule?

by **Megan Madden** » Fri, 04 Sep 2009 10:40:07 GMT

Given the following two-equations-two unknowns, write a computer program, using CRAMERS’RULE to solve for the roots.

aX + bY = C

dX + eY = f

DATA:

a b c d e f

2 5 -1 2 5 -5

0 3 8 -.5 3 2

-2 -3 0 -.3 0 4

### MATLAB >> CRAMERS Rule?

by **Sprinceana** » Fri, 04 Sep 2009 15:06:01 GMT

Cramer's rule is used in solving linear system of equations.

Just follow up this :

http://en.wikipedia.org/wiki/Cramer %27s_rule

Similar Threads

1. Cramer's Rule - linear equations - MATLAB

2. Vectorize Cramer's Rule

Hi:
I know that the Cramer's rule is quite trivial and discussed here
before. But I was looking for a solution for the general nxn case
without using any kind of loops,for,if, while commands. Just using
basic Matlab commands. I appreciate any elegant or vectorized
solutions.

3. Vectorize Cramer's Rule : Hard Problem ? - MATLAB

4. function using cramers rule

Hello,
I have spent several hours trying to write a function using cramer's
rule. Unfortunatly, I can't use any short cuts or built in functions
matlab already has. It has to be a three by three matrix with inputs
A and B and out puts X1,X2,and X3. Does anyone have any samples I
could study or suggestions for me?? Thanks for any help, I'm not
looking to copy anyones work I want to learn how to do it, just needs
some guidance or direction to go in Thanks.
Steve Dunn

5. HELP!Rule delta, rule of the gradient in the neural net - MATLAB

7. adjusted contingency coefficient & cramer coefficient - MATLAB

8. CRAMER RAO BOUND

Hi,
I guess this is more of a math question, but I thought someone here
could help me. I'm confused about the different forms of the vector
Cramer Rao Bound. Specifically, let x be the parameter vector, and
let L(x) be the log pdf. Then the Fisher matrix is
(1) E{dL/dx*(dL/dx)'}
or
(2) -E{d2L/dxdx'}
Now I understand the second form- it is a full rank matrix. But form
(1) is the product of two vectors- hence, it is rank deficient, and
cannot be inverted to obtain the minimum variance. So how are these
two forms equivalent? Am I reading the math wrong? Thanks!