see comparevars version 1.0 (4.14 KB) by Robert Cumming: https://www.mathworks.com/matlabcentral/fileexchange/46165-comparevars
Compare any variables to detect difference in class, size and within a user defined tolerance
This version treats Infinite numbers (Inf) as equal (in a similar manner as nanCheck in comparevars.m)
Cite As
thalia (2024). comparevars_inf (https://www.mathworks.com/matlabcentral/fileexchange/66491-comparevars_inf), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2016b
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
- Reporting and Database Access > MATLAB Report Generator > Report Generator Development > Content Generation > Tables >
Find more on Tables in Help Center and MATLAB Answers
Tags
Acknowledgements
Inspired by: comparevars
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.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |