Plotting Symbolic Functions with Unknown Constants

조회 수: 3 (최근 30일)
Nemesis
Nemesis 2015년 5월 7일
댓글: Nemesis 2015년 5월 7일
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 !!!

채택된 답변

John D'Errico
John D'Errico 2015년 5월 7일
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.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Calculus에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by