How to normalize output data for a plot
Show older comments
I want to normalize the the y-axis of a plot. The current limits for the graph are set from 0 to 30 on the y-axis, how would I normalize the output data of the simulink model being 'sim_data.Pd'? Could it be possible to use the Normalize function for this?
2 Comments
Jonas
on 29 Jun 2022
what do you mean with Normalization? You want values only between 0 and 1? You want to see in the plot these normalized values?
Giovanni Ponce
on 29 Jun 2022
Accepted Answer
More Answers (1)
Aman Banthia
on 29 Jun 2022
0 votes
Hi Giovanni,
Seems like you can normalize the data using the normalize function. But there is no method named 'sim_data' there are a fixed set of data you can normalize using this function.
Refer to the following MATLAB document to know about the Normalization Methods of the normalize function:
Categories
Find more on Verification, Validation, and Test in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!