Is there a semilogx function for symbolic functions?

12 visualizaciones (últimos 30 días)
Manjeel Regmi
Manjeel Regmi el 13 de Abr. de 2018
Comentada: POON TAK YIN POON el 28 de Abr. de 2021
Like there is fplot for plot, is there a function that replaces semilogx, semilogy, loglog for symbolic functions, because semilogx, semilogy, and loglog aren't working for my symbolic functions.
Please share, thank you.

Respuestas (1)

Star Strider
Star Strider el 13 de Abr. de 2018
Use the set function with fplot to adjust the axis scaling:
syms x(t)
x(t) = exp(-2*t);
figure(1)
fplot(x, [0 10])
title('Linear x')
figure(2)
fplot(x, [0 10])
set(gca, 'YScale','log')
title('Semilogy x')

Categorías

Más información sobre Line Plots en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by