Ältere Kommentare anzeigen
How can i plot sinh(ax) with different values of a?
Akzeptierte Antwort
Weitere Antworten (2)
Asmit Singh
am 28 Mai 2021
Bearbeitet: Asmit Singh
am 28 Mai 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 Kommentar
Sewa Singh
am 29 Mai 2021
Sulaymon Eshkabilov
am 28 Mai 2021
Hi,
Use this synatx approach:
syms x
a = [?, ?, ?, ..];
% OR
a = input('a = ');
V = sinh(a(:)*x);
fplot(V, [xmin, xmax])
Good luck.
1 Kommentar
Sewa Singh
am 29 Mai 2021
Kategorien
Mehr zu Logical finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!