how can i normalize a plot
19 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hussain Ali
le 30 Mai 2020
Réponse apportée : Ameer Hamza
le 30 Mai 2020
figure 1 show the plot which i am getting.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/306051/image.png)
figure 2 shows the actual (normalized) plot which i am trying to achieve.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/306055/image.jpeg)
please note that only y axis has been normalized and logarithmic scale on both axes has been used
0 commentaires
Réponse acceptée
Ameer Hamza
le 30 Mai 2020
divide by signals by maximum value of EtRe. Something like this
max_EtRe = max(Etre);
EtRe_ = EtRe/max_EtRe;
Etlm_ = Etlm/max_EtRe;
% plot EtRe_ and Etlm_
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Line Plots dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!