find_abc
Version 1.0.1 (336 KB) by
Tyler Grimm
Determines the values of a, b, and c for y(t)=c*(exp(-a*t)-exp(-b*t)) such that resulting curve meets desired criteria.
A capacitor discharge through a resistor/inductor can be described by the equation:
The function find_abc is used to determine the variables a, b, and c for this equation.
These variables will be defined such that the resulting curve will produce the following desired values (nomenclature in parentheses is used in the MATLAB code): (t_Peak_Desired), (PulseWidth_Desired), (PulseAmplitude_Desired), and (Pulse_Off_Desired).
This code can use parallel processes (use_Parallel). Set use_Parallel=1 to use parallelized code or use_Parallel=0 to not use parallelized code.
Cite As
Tyler Grimm (2024). find_abc (https://www.mathworks.com/matlabcentral/fileexchange/105420-find_abc), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2021b
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.1 | Added project website |
|
|
1.0.0 |
|