Problem 45409. MinMax mapping
Given a matrix, map all the elements within a given interval.
For example,
a=[ 2 5 10] mapped in the interval [1,2] >> [1, 1.375, 2].
Solution Stats
Problem Comments
Solution Comments
Show commentsProblem Recent Solvers22
Suggested Problems
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15467 Solvers
-
953 Solvers
-
Get the length of a given vector
10551 Solvers
-
311 Solvers
-
302 Solvers
More from this Author165
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!