plotting absolute errors using a log log plot

2 visualizaciones (últimos 30 días)
Mason Holmes
Mason Holmes el 10 de Mayo de 2018
Respondida: Ameer Hamza el 10 de Mayo de 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

Respuestas (1)

Ameer Hamza
Ameer Hamza el 10 de Mayo de 2018
You can plot Log-log plot using loglog() fuction
loglog(xValue, errors);

Categorías

Más información sobre Log Plots en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by