How to solve transfer function inside summation?
Mostra commenti meno recenti
I tried this method:
kr=600;
kp=9;
s=tf('s');
Gc_r= (0.866*s - n*50*pi)/((s^2) + 6*s + (n*100*pi)^2 );
sol= subs(Gc_r, n, 1:2:9);
f=sum(sol)
r_term=f*kr
Gc=kp+r_term
But, it is giving this error : Incorrect dimensions for raising a matrix to a power. Check that the matrix is square and the power is a scalar. To
perform elementwise matrix powers, use '.^'.
I corrected above mentioned error but it didn't work.
error : Undefined operator '.^' for input arguments of type 'tf'.
__________________________________________________________
I also tried this method:
kr=600;
kp=9;
syms s n
Gc_r= (0.866*s - n*50*pi)/((s^2) + 6*s + (n*100*pi)^2 );
sol= subs(Gc_r, n, 1:2:9);
f=sum(sol)
r_term=f*kr
Gc=kp+r_term
It didn't simplified answer either. returned in the form of sum of products.
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Mathematics in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!