Effacer les filtres
Effacer les filtres

sinh(ax) plot

2 vues (au cours des 30 derniers jours)
Sewa Singh
Sewa Singh le 28 Mai 2021
Commenté : Sewa Singh le 29 Mai 2021
How can i plot sinh(ax) with different values of a?

Réponse acceptée

Adam Danz
Adam Danz le 28 Mai 2021
Modifié(e) : Adam Danz le 28 Mai 2021
If this is something the documentation doesn't answer you'll have to elaborate. We don't know what "a" is in your question.
  2 commentaires
Sewa Singh
Sewa Singh le 29 Mai 2021
a=[10:10:100] is given.i tried but dimension not matching error came.
Sewa Singh
Sewa Singh le 29 Mai 2021
Thanks in advance

Connectez-vous pour commenter.

Plus de réponses (2)

Asmit Singh
Asmit Singh le 28 Mai 2021
Modifié(e) : Asmit Singh le 28 Mai 2021
You can look at the plotting documentation to know more. Heres a simple example.
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
Sewa Singh le 29 Mai 2021
Thank you very much ..it helped me

Connectez-vous pour commenter.


Sulaymon Eshkabilov
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
Sewa Singh le 29 Mai 2021
Thank you very much...it helped me

Connectez-vous pour commenter.

Tags

Produits


Version

R2015a

Community Treasure Hunt

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

Start Hunting!

Translated by