How to get the equation of a function in simulink
5 views (last 30 days)
Show older comments
Dear all I am new to simulink and I am creating an electrical circuit using powerlib. I have been using a "Scope" to view my voltage (AC), but it is better if simulink can return me the equation of the graph plotted in the "Scope". Anyone know how to do this? Many thanks
0 Comments
Accepted Answer
Kaustubha Govind
on 3 May 2012
No, I don't think that is possible. You could log the output data to the workspace however, and use something like the Curve Fitting Toolbox in MATLAB to fit the data to a curve.
Typically, Simulink models can also be linearized around an operating point using the DLINMOD or LINMOD functions to obtain a state-space representation, but I'm not sure if those functions work with SimPowerSystems.
0 Comments
More Answers (0)
See Also
Categories
Find more on Electrical Sensors in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!