How to plot variables inside an equation?
이전 댓글 표시
I am trying to apply a parametric method for the presizing of an electric motor. I am following the steps in this scientific paper:
hal.archives-ouvertes.fr/hal-00874371/document
Once I have calculated the values of different variables I am left with this equation (15):
I have defined Vb Vcr and Kb as symbolic variables so as this: syms Vb Vc; Kb=sym(Vb/Vcr). What I finally want to obtain is a graphic with Pb in the y axis and Vb/Vcr (Kb) in the x axis as shown in the previuos image. How can I do this? I add the code in my command window:

Thanks a lot!!!
댓글 수: 1
Karan Gill
2017년 9월 18일
To plot symbolic expressions, see fplot ( https://www.mathworks.com/help/symbolic/fplot.html ) and related functions.
답변 (1개)
Walter Roberson
2017년 9월 18일
fplot(Pb)
Note: it is a lot more easy for people to assist you if you post the code instead of a picture of the code.
카테고리
도움말 센터 및 File Exchange에서 Calculus에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!