Storing an equation then change one variable repeat transfer function

Hi i am using the trial version and I am very new to this.
I have created a transfer function and in it's denominator (which has 5 terms) I have an equation expressed as
den = [c2^2*r2^2*c4*r4 c2^2*r2^2*c4+2*c2*r2*c4^2*r4 c2^2*r2^2*c4*r4+2*c2*r2*c4*r4+c2^2*r2^2+c4^2*r4+2*c2*r2*c4 2*c2*r2+c4*r4+c4 1]
When I save and reload my workspace it seems I have to re-enter this equation if I want to change one variable to a new value so I am able to obtain a new transfer function, bode or nyquist plot.
Is there a way to store this equation, expressed algebraically as shown above, so that if I change one variable (after reloading my workspace) I do not have to retype(cut/paste) this expression?
Cheers
Dave

Categorías

Más información sobre Dynamic System Models en Centro de ayuda y File Exchange.

Preguntada:

el 14 de Nov. de 2014

Respondida:

el 14 de Nov. de 2014

Community Treasure Hunt

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

Start Hunting!

Translated by