how to plot cosx*coshx+1=0

12 ビュー (過去 30 日間)
SeonHye Kim
SeonHye Kim 2020 年 3 月 16 日
回答済み: the cyclist 2020 年 3 月 16 日
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??

採用された回答

the cyclist
the cyclist 2020 年 3 月 16 日
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]);

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeFunction Creation についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by