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
답변 (1개)
Azzi Abdelmalek
2014년 11월 14일
1 개 추천
save your expression in an m-file
카테고리
도움말 센터 및 File Exchange에서 Dynamic System Models에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!