How to plot this equation
Show older comments
I'm trying to plot the figure below, but I don't really understand what function to use to achieve this.
β is defined as
, where the T used is for low temperature
I tried using syms delta and fplot(@(delta) U) but that doesn't seem right.

1 Comment
Matt J
on 11 Jan 2024
but that doesn't seem right.
Why not?
Answers (1)
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])
Categories
Find more on Creating, Deleting, and Querying Graphics Objects in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!



