Created
February 2, 2020 07:18
-
-
Save MShirazAhmad/c4b24bca386d21f4c502547c8c6e54d0 to your computer and use it in GitHub Desktop.
Normalizing Array to Unity
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function norm = norm2unity(input) | |
| norm=(input-min(input))/(max(input)-min(input)) | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment