How to plot this equation
1 次查看(过去 30 天)
显示 更早的评论
I'm trying to plot the figure below, but I don't really understand what function to use to achieve this.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1588206/image.png)
β is defined as
, where the T used is for low temperature
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1588211/image.png)
I tried using syms delta and fplot(@(delta) U) but that doesn't seem right.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1588216/image.png)
回答(1 个)
Paul
2024-1-11
syms U Delta beta T k_beta
U = -Delta/2*tanh(beta*Delta/2)
UoverDelta = U/Delta
UoverDelta = subs(UoverDelta,beta,inv(k_beta*T))
syms w
UoverDelta = subs(UoverDelta,k_beta*T/Delta,w)
figure
fplot(UoverDelta,[0 10])
ylim([-1 0])
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Axis Labels 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!