How to plot symbolic function with too many variables

조회 수: 1 (최근 30일)
Noemi Ambrosio
Noemi Ambrosio 2019년 3월 6일
댓글: madhan ravi 2019년 3월 6일
Hello,
I am new in this Matlab world and I have to understand some things.
How can I plot an equation like this?
>> sol_h.T
ans =
C2 - t*(T*alpha2 + T*gamma1 + 100*T*k3 - 200*U*k1 + (40000*U^2*k1^2*pT)/A2 - (40000*U^2*k1^2*pU)/A2)
I got the numerical values and I wrote them in the code like:
alpha2 = 0,001;
But I would like to replace the variable with the numerical values in the equation. How can I?
Thank you so much, have a good day!
  댓글 수: 1
madhan ravi
madhan ravi 2019년 3월 6일
Use subs() to substitute values, symbolically you can plot with max three values(since 2016b I suppose).

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

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

제품


릴리스

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by