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.
Cite As
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. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.