Mostrar comentarios más antiguos
How can i plot sinh(ax) with different values of a?
Respuesta aceptada
Más respuestas (2)
Asmit Singh
el 28 de Mayo de 2021
Editada: Asmit Singh
el 28 de Mayo de 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 comentario
Sewa Singh
el 29 de Mayo de 2021
Sulaymon Eshkabilov
el 28 de Mayo de 2021
Hi,
Use this synatx approach:
syms x
a = [?, ?, ?, ..];
% OR
a = input('a = ');
V = sinh(a(:)*x);
fplot(V, [xmin, xmax])
Good luck.
1 comentario
Sewa Singh
el 29 de Mayo de 2021
Categorías
Más información sobre Logical en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!