Remapping Data From 1 Given Range to Another Given Range

Remap data from a given range to a different stated range.
77 Downloads
Updated 26 Aug 2015

View License

main executing reference usage: usage_data_range_adjust.m
-----------------------------------------------------------------------------
The objective is to remap data from a given range to a different stated range.
There are 4 cases:
1. case 1: range upper 0 and range below zero are same in proportion.
2. case 2: range upper 0 and range below zero are not same in proportion.
3. case 3: non-negative range on range to-be-remapped on.
4. case 4: non-negative range on original range.

Caveat: For reference purposes.

Cite As

Michael Chan (2026). Remapping Data From 1 Given Range to Another Given Range (https://in.mathworks.com/matlabcentral/fileexchange/52670-remapping-data-from-1-given-range-to-another-given-range), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2014b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Workspace Variables and MAT Files in Help Center and MATLAB Answers
Version Published Release Notes
1.0.0.0