plotting absolute errors using a log log plot
3 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Log Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!