Risposta accettata

Adam Danz
Adam Danz il 28 Mag 2021
Modificato: Adam Danz il 28 Mag 2021

0 voti

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 Commenti

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

Accedi per commentare.

Più risposte (2)

Asmit Singh
Asmit Singh il 28 Mag 2021
Modificato: Asmit Singh il 28 Mag 2021

0 voti

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)
Sulaymon Eshkabilov
Sulaymon Eshkabilov il 28 Mag 2021

0 voti

Hi,
Use this synatx approach:
syms x
a = [?, ?, ?, ..];
% OR
a = input('a = ');
V = sinh(a(:)*x);
fplot(V, [xmin, xmax])
Good luck.

Prodotti

Release

R2015a

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by