plot between two variables

3 vues (au cours des 30 derniers jours)
almohanned alsufyani
almohanned alsufyani le 31 Mai 2023
Hi, I want to plot the (PR) vs. the (PR_ave) where (PR)changes daily while (PR_ave) is the aferage of the (PR), please change the code below to the desired goal, thank you
PR = (Md_MSF_seclatent_steam)./(Ncqsum); % Performance Ratio PR_ave=sum(PR)/365; % Average Performance Ratio plot(PR,PR_ave); ylabel("PR") xlabel("Days") title("Performance Ratio profile")
  2 commentaires
Constantino Carlos Reyes-Aldasoro
What exactly is the problem for which you need help?
almohanned alsufyani
almohanned alsufyani le 31 Mai 2023
I want the code to produce a plot like this.

Connectez-vous pour commenter.

Réponses (1)

Torsten le 31 Mai 2023
instead of
if PR is a row vector, or
if PR is a column vector.


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!

Translated by