Afficher commentaires plus anciens
How can i plot sinh(ax) with different values of a?
Réponse acceptée
Plus de réponses (2)
Asmit Singh
le 28 Mai 2021
Modifié(e) : Asmit Singh
le 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 commentaire
Sewa Singh
le 29 Mai 2021
Sulaymon Eshkabilov
le 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 commentaire
Sewa Singh
le 29 Mai 2021
Catégories
En savoir plus sur Logical dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!