Simulate Hysteresis Loop in MATLAB | Step-by-Step Tutorial"

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
3 replies · 7K views
vinzie
Messages
19
Reaction score
0
Hi there,

Would anyone help me in simulating hysteresis loop in MATLAB?

Thank You!
 
Physics news on Phys.org
like a transformer hysteresis loop? without the hysteresis, what does the curve look like?
 
I meant the hysteresis loop of a ferromagnetic substance
 
You can use Langevin function to describe a hysteresis loop. Exact form of Langervin function you can find out in many textbooks on magnetism.

[itex]M(H)=M_s.[\cosh(c(H+\alpha M))-\dfrac{1}{c(H+αM)}][/itex]

or use this

[itex]M(H)=M_s.\tanh(c(H+\alpha M))[/itex]

For the code, It is extremely easy, in ten lines, so try it.