sinh(ax) plot
Show older comments
How can i plot sinh(ax) with different values of a?
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)
1 Comment
Sewa Singh
on 29 May 2021
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.
1 Comment
Sewa Singh
on 29 May 2021
Categories
Find more on Logical in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!