how can i normalize a plot

60 views (last 30 days)
Hussain Ali
Hussain Ali on 30 May 2020
Answered: Ameer Hamza on 30 May 2020
figure 1 show the plot which i am getting.
figure 2 shows the actual (normalized) plot which i am trying to achieve.
please note that only y axis has been normalized and logarithmic scale on both axes has been used

Accepted Answer

Ameer Hamza
Ameer Hamza on 30 May 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_

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!