How can i plot sinh(ax) with different values of a?

 Accepted Answer

Adam Danz
Adam Danz on 28 May 2021
Edited: Adam Danz on 28 May 2021

0 votes

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 Comments

Sewa Singh
Sewa Singh on 29 May 2021
a=[10:10:100] is given.i tried but dimension not matching error came.
Sewa Singh
Sewa Singh on 29 May 2021
Thanks in advance

Sign in to comment.

More Answers (2)

Asmit Singh
Asmit Singh on 28 May 2021
Edited: Asmit Singh on 28 May 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 Comment

Sewa Singh
Sewa Singh on 29 May 2021
Thank you very much ..it helped me

Sign in to comment.

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
Sewa Singh on 29 May 2021
Thank you very much...it helped me

Sign in to comment.

Products

Release

R2015a

Tags

Asked:

on 28 May 2021

Commented:

on 29 May 2021

Community Treasure Hunt

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

Start Hunting!