how can i normalize a plot
19 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Hussain Ali
il 30 Mag 2020
Risposto: Ameer Hamza
il 30 Mag 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 Commenti
Risposta accettata
Ameer Hamza
il 30 Mag 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 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Line Plots in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!