PDA

View Full Version : Hysteresis loop on MATLAB


omri3012
Jun2-09, 06:14 AM
Hallo,

If I have an hystersis loop (of ferromagnets) in form of scattered points in matlab what is the function or tool which i can use in order drew a continues hystersis curve(loop)?

Thanks,
Omri

Dr Transport
Jun2-09, 09:58 PM
plot(x,y,'+'); will plot the points in 2-d as + for each point.

MATLABdude
Jun3-09, 04:34 AM
You could also break it into two sets, one going forward, and one going backwards, and then plot both with the exact same settings (or using the 'hold' function). If you really wanted to get fancy, you could probably add a text greater than (>) sign and less than sign (<) to indicate the direction of the hysteresis.