sinh(ax) plot
2 views (last 30 days)
Show older comments
How can i plot sinh(ax) with different values of a?
0 Comments
Accepted Answer
More Answers (2)
Asmit Singh
on 28 May 2021
Edited: Asmit Singh
on 28 May 2021
x = 0:pi/100:2*pi;
% a = 2
y = sinh(2*x);
plot(x,y)
hold on
%a = 5
y = sinh(5*x);
plot(x,y)
Sulaymon Eshkabilov
on 28 May 2021
Hi,
Use this synatx approach:
syms x
a = [?, ?, ?, ..];
% OR
a = input('a = ');
V = sinh(a(:)*x);
fplot(V, [xmin, xmax])
Good luck.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!