# to solve equation using matlab

Status
Not open for further replies.

#### shenba

##### Newbie level 2
ωΛ4-1952.1ω²+548880=0 to spove this equation i need matlab coding

#### Communications_Engineer

##### Advanced Member level 3
I don't really get what you are asking but if it representing this equation as matlab code that here it is:

output = omega.^4 - 1.952.1*omega.^2 + 548880

output == 0

If the answer is 1, equation proved

Note: the program will work when omega is a scalar or a vector

the test condition when it is a vector can be given as

sum(output) == 0

#### JoannesPaulus

##### Advanced Member level 3
the matlab command is "roots":

roots([1 0 -1.952 0 548880])

ans =

-19.259288149555253 +19.233933035850992i
-19.259288149555253 -19.233933035850992i
19.259288149555260 +19.233933035850999i
19.259288149555260 -19.233933035850999i

I hope it helps!

#### rfboardengineer

##### Junior Member level 1
"ωΛ4-1952.1ω²+548880=0 to spove this equation i need matlab coding"

Substitute u = ω²

u^2 -1952.1u + 548880=0 ; Now its quadratic

Is there more to this question?

Status
Not open for further replies.

Replies
0
Views
934
Replies
3
Views
1K
Replies
6
Views
4K
Replies
2
Views
3K
Replies
11
Views
4K