How to normalize new inputs with mapminmax ?

H
Hamza_ali · Jul 16, 2021 · 1.9K views
Question
Hello, I have normalized my data with mapminmax which gives values between -1 and 1. However, when I present new inputs to my network, knowing that the max of these is greater than the maximum of the training data, I will have As the normalization interval [-1,1.5]. what do you think ?  
Expert Answer
Profile picture of Kshitij Singh
Kshitij Singh PhD Expert
Answered Aug 26, 2026
You do not HAVE to normalize anything because the neural net AUTOMATICALLY normalizes input and target to [-1,1].
 
HOWEVER, I RECOMMEND USING MAPSTD BEFORE TRAINING in order to detect and either modify or remove outliers.
 
My advice:
 
 
 1. Size input and target matrices
 2. Plot x, t, and t vs x 
 3. Apply MAPSTD to deal with outliers
 4. If outliers are modified or removed, 
   replot the affected variables.
 5. Train and obtain e = t-y
 6. plot  y & t and e
100% Run Guarantee 3-Hour Fast-Track Delivery

Need a Custom Version or Complete Simulation for This Problem?

Our 500+ PhD engineers build, debug, and optimize working MATLAB scripts and Simulink (.slx) models tailored to your exact assignment rubrics with zero plagiarism.

Tested on MATLAB R2024b / R2026a
Turnitin 0% Plagiarism Report
Free 7-Day Revisions Guarantee
Have a different question? Ask here

Get a Free Consultation or a Sample Assignment Review!