plotting absolute errors using a log log plot

2 vues (au cours des 30 derniers jours)
Mason Holmes
Mason Holmes le 10 Mai 2018
Plot the absolute values of the errors of the results obtained in part (b) over the strip width h. Use a log-log plot.
I have calculated the errors of my results obtained in the previous part of the question however, I am not sure on how to implement the loglog function. What do I plot the errors against?
The code I have for the errors is as follows:
TruncERctr2 = abs(Iex - Ictr2)
RoundERctr2 = Ictr2 - Q1bi2;
TotalERctr2 = abs(Iex - Q1bi2);
TruncERctr4 = abs(Iex - Ictr4);
RoundERctr4 = Ictr4 - Q1bi4;
TotalERctr4 = abs(Iex - Q1bi4);
TruncERcs132 = abs(Iex - Ics132);
RoundERcs132 = Ics132 - Q1bii2;
TotalERcs132 = abs(Iex - Q1bii2);
TruncERcs134 = abs(Iex - Ics134)
RoundERcs134 = Ics134 - Q1bii4
TotalERcs134 = abs(Iex - Q1bii4)
which all give values but I am not sure on how to complete the question since I don't know how to plot these errors obtained using a log plot?
Any help would be appreciated

Réponses (1)

Ameer Hamza
Ameer Hamza le 10 Mai 2018
You can plot Log-log plot using loglog() fuction
loglog(xValue, errors);

Catégories

En savoir plus sur Log 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