plotting absolute errors using a log log plot
3 views (last 30 days)
Show older comments
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
0 Comments
Answers (1)
Ameer Hamza
on 10 May 2018
You can plot Log-log plot using loglog() fuction
loglog(xValue, errors);
0 Comments
See Also
Categories
Find more on Log Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!