How to solve linear equations.

Home Forums Matlab How to solve linear equations.

This topic contains 1 reply, has 2 voices, and was last updated by  cK 9 years, 7 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #531

    samuelsuhas1991
    Participant

    Dear Sir,
    How to solve the linear equation of the form AX=B. when there are some variables in X and also in B for the N number of linear equations.

    example
    a= [2.72 2.72 0; -2.72 2.914 -0.194; 0 -0.194 0.194]
    x= [297 x2 317]
    b= [x1 0 x3]

    (if there is a known value in 1st element of x then the value of 1st element in b is unknown and vice versa. in other words, either of the respective values from x or b is known.

    how to write a logic for this.

    #533

    cK
    Keymaster

    Rearrange equations to have all unknowns on same side of equality.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.