This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% travel is the location of the wiper along the pot from 0 to 1 | |
travel = linspace(0,1,1000); | |
% Define the factor of resistance at the middle pot position | |
mid = 0.15; | |
% b is the base of the exponential equation | |
b = (1/mid - 1)^2; | |
% a is the multiple and also the offset |
NewerOlder