Hi
To determine the damping ratio (psij and psik ), i have to solve the attached system where all other name
are constant.
How can i solve this system ?

3 commentaires

Jan
Jan le 25 Jan 2017
Modifié(e) : Jan le 25 Jan 2017
The attached image does not contain any "psi"s. Do you mean zeta or omega? Do you want to solve this symbolically or numerically?
What have you tried so far? Which problems occur? Is this a homework question? We should know the last detail, because this demands for another kind of answering.
Mallouli Marwa
Mallouli Marwa le 26 Jan 2017
I mean zeta
Mallouli Marwa
Mallouli Marwa le 26 Jan 2017
I want to solve it numerically.

Connectez-vous pour commenter.

 Réponse acceptée

Torsten
Torsten le 26 Jan 2017

1 vote

A = 2*omegaj*omegak/(omegaj^2-omegak^2)*[Y*I/omegak -Y*I/omegaj ; -m*omegak m*omegaj];
b = [cs*I ; ca];
zeta = A\b;
zetaj = zeta(1);
zetak = zeta(2);
Best wishes
Torsten.

5 commentaires

Mallouli Marwa
Mallouli Marwa le 26 Jan 2017
Hi How can i stock zetaj and zetak in two vectors ?
ca_m = 19.295;
cs_I = 2.93e-6;
for i=1:8
A = 2 * wr(i)* wr(i+1) / (wr(i)^2 - wr(i+1)^2) * [1/ wr(i+1) -1/ wr(i) ; -wr(i+1) wr(i)];
b = [cs_I ; ca_m];
zeta = A\b;
zetaj = zeta(1);
zetak = zeta(2);
end
zetaj(i)=zeta(1);
zetak(i)=zeta(2);
Best wishes
Torsten.
For this loop i obtain this error :
Warning: Matrix is singular, close to singular or badly scaled.
Results may be inaccurate. RCOND = NaN.
In program at 5 (zeta)
Please help me.
for i=1:10
for k=1:10
A = 2* wr(i)*wr(k)/(wr(i)^2-wr(k)^2)*[1/wr(k) -1/wr(i) ; -wr(k) wr(i)];
b = [cs_I ; ca_m];
zeta = A\b;
zetaj(k)=zeta(2);
zetak (i)=zeta(1);
end
end
Torsten
Torsten le 27 Jan 2017
Modifié(e) : Torsten le 27 Jan 2017
If abs(wr(i))=abs(wr(k)), your matrix A becomes singular and you won't get a solution.
This will at least be the case if i=k in your nested-loop construction.
Best wishes
Torsten.
Mallouli Marwa
Mallouli Marwa le 27 Jan 2017
Please how can i correct this error ?

Connectez-vous pour commenter.

Plus de réponses (1)

Torsten
Torsten le 26 Jan 2017

0 votes

Hint:
The inverse of
[a b ; c d]
is
1/(a*d-b*c)*[d -b; -c a]
Best wishes
Torsten.

Catégories

En savoir plus sur Loops and Conditional Statements dans Centre d'aide et File Exchange

Tags

Aucun tag saisi pour le moment.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by