linregca
Version 1.0.0.1 (1,92 KB) von
Micke Malmström
Calculates the least square linear regression of all separate lines in current axes
[a,pl,Rsq]=linregca(LineNo,ha) Calculates the linear regression of all lines separately in current axes
LineNo - if only a specific Line number should be processed (otherwise all lines are processed) Be ware! The first plotted line is LineNo=1, and last plotted line is the number "end"
ha - axis handle to a specific axes (default is current axis)
a - contains the regression results where the linreg-Yvalue = [1 Xvalue]*a(:,LineNo)
pl - are the new plotted lines handles
Rsq - contains the R^2 values of the fit
Zitieren als
Micke Malmström (2024). linregca (https://www.mathworks.com/matlabcentral/fileexchange/157936-linregca), MATLAB Central File Exchange. Abgerufen .
Kompatibilität der MATLAB-Version
Erstellt mit
R2023b
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS LinuxTags
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.0.0.1 | added info to Destription |
||
1.0.0 |