Single-variable linear level finding ("inverse" INTERP1): findX
XI = findX(X,Y,YI) estimates the XI values at which the dependent
variables Y reach or cross a specified target level YI (scalar value). If there are multiple solutions, findX finds all of them. It may be seen as the "inverse" operation of the MATLAB's function
INTERP1, under 'linear' method.
X is a vector containing a sequence of monotone increasing values of the independent variable. Y is a vector containing the discrete values of the dependent variable (underlying function).
[XI,IDEXACT] = findX(X,Y,YI) returns in IDEXACT the indices where the original values of Y exactly reach the target level YI, i.e. Y(IDEXACT)=YI, so interpolation was not needed.
Zitieren als
Antoni J. Canós (2024). Single-variable linear level finding ("inverse" INTERP1): findX (https://www.mathworks.com/matlabcentral/fileexchange/23860-single-variable-linear-level-finding-inverse-interp1-findx), MATLAB Central File Exchange. Abgerufen .
Kompatibilität der MATLAB-Version
Plattform-Kompatibilität
Windows macOS LinuxKategorien
- AI, Data Science, and Statistics > Statistics and Machine Learning Toolbox > Probability Distributions > Resampling Techniques >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.1.0.0 | Important bug fixed. New features added. Help rewritten. |
||
1.0.0.0 |