Hello I want to have a logarthmic x axis however I think the semilogx function doesnt work when using a function. Also, if you know what the error means Id appreciate an explanation!

 采纳的回答

set(gca, 'XScale','log') % at the end
To turn off the warning simply use dots before arithmetic operators .^ .* ./

2 个评论

Thanks! and what about if I wanted a logarthmic Y axis would i change xscale to yscale?

请先登录,再进行评论。

更多回答(0 个)

类别

在 帮助中心 和 File Exchange 中查找有关 Simulink 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by