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.
Citation pour cette source
Ivar Eskerud Smith (2024). Set nominal values for data (https://www.mathworks.com/matlabcentral/fileexchange/28561-set-nominal-values-for-data), MATLAB Central File Exchange. Récupéré le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
Version | Publié le | Notes de version | |
---|---|---|---|
1.1.0.0 | Fixed bug with the specified percentage and added precicion |
||
1.0.0.0 |