find_abc

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.
13 Downloads
Updated 19 Jan 2022

View License

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 Linux

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.1

Added project website

1.0.0