Set nominal values for data
Set nominal values for/group a dataset by specifying a fraction which determines how far away from the original value a nominal value can be.
Ex: A set of velocity data:
v = [0 9.03, 0.1, 5.2, 0.101, 0.095, 5.01,0, 9, 4.9, 9.2, 8.9, 5.3];
nomV = setNom( v, 0.1 ); plot( (nomV-v)./v, '*' ); disp(unique(nomV))
Each velocity now has a nominal value which is at max 10% off the real value.
Zitieren als
Ivar Eskerud Smith (2025). Set nominal values for data (https://www.mathworks.com/matlabcentral/fileexchange/28561-set-nominal-values-for-data), MATLAB Central File Exchange. Abgerufen.
Kompatibilität der MATLAB-Version
Plattform-Kompatibilität
Windows macOS LinuxKategorien
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 | Fixed bug with the specified percentage and added precicion |
||
1.0.0.0 |