Plotting Symbolic Functions with Unknown Constants

4 visualizaciones (últimos 30 días)
Nemesis
Nemesis el 7 de Mayo de 2015
Comentada: Nemesis el 7 de Mayo de 2015
I'm trying to plot the symbolic function y(x) = A*(e^B - 1)*sinh(C-x) + D*sinh(x) where A, B, C and D are unknown constants. Is there anyway that I can plot a function between x and y which includes the symbolic functions of A, B, C, D?
I have tried using 'syms' to create the symbolic functions of A, B, C and D. and then when I try using ezplot I get the error saying that I have more than 2 variables. If someone could help me with this that would be awesome !!!

Respuesta aceptada

John D'Errico
John D'Errico el 7 de Mayo de 2015
No. You cannot plot a symbolic function. There are infinitely many possible functions in this family, and the family of functions has too many variables.
Were there ONE unknown parameter, you could plot some simple subset of the infinite family. Not with 4 unknowns.

Más respuestas (0)

Community Treasure Hunt

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

Start Hunting!

Translated by