how to plot cosx*coshx+1=0

12 visualizaciones (últimos 30 días)
SeonHye Kim
SeonHye Kim el 16 de Mzo. de 2020
Respondida: the cyclist el 16 de Mzo. de 2020
clc
clear
close all
syms x
f(x) = (cos(x))*(cosh(x))+1;
fplot(x,f)
xlim([0 10]);
ylim([-100 100]);
Why is the gragh cut off??

Respuesta aceptada

the cyclist
the cyclist el 16 de Mzo. de 2020
I don't have the Symbolic Math Toolbox, so I can't comment on your code. But this worked for me.
f = @(x) (cos(x)).*(cosh(x))+1;
figure
fplot(f)
xlim([0 10]);
ylim([-100 500]);

Más respuestas (0)

Categorías

Más información sobre Function Creation en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by