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 件)
Ameer Hamza
2018 年 5 月 10 日
You can plot Log-log plot using loglog() fuction
loglog(xValue, errors);
0 件のコメント
参考
カテゴリ
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!