What is a linear-linear plot, log-linear plot,linear-log plot and log-log plot?

7 次查看(过去 30 天)
I have a homework question like the following. I know how to plot the function using the syntax subplot. I just never learned the linear-linear plot, log-linear plot,linear-log plot and log-log plot. Could someone explain these to me?
Consider the function f(n)=n×log2(n)
write a MatLab function to express this function
2.1 Construct a figure containing four graphs in a 2x2 arrangement (using “subplot”).
2.1.1 In the first subplot plot f(n) in a linear-linear plot
2.1.2 In the second subplot plot f(n) in a log-linear plot
2.1.3 In the third subplot plot f(n) in a linear-log plot
2.1.4 In the fourth subplot show the function in a log-log plot

回答(1 个)

Javier Bastante
Javier Bastante 2016-3-16
See this picture: http://blogs-images.forbes.com/naomirobbins/files/2012/01/linear_log.jpg In the first one you have a linear scale, and in the second one you have a logaritmic scale. I hope this can help you. Regards

类别

Help CenterFile Exchange 中查找有关 Line Plots 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by