Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Hysteresis loop on MATLAB

  1. Jun 2, 2009 #1

    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)?

  2. jcsd
  3. Jun 2, 2009 #2

    Dr Transport

    User Avatar
    Science Advisor
    Gold Member

    plot(x,y,'+'); will plot the points in 2-d as + for each point.
  4. Jun 3, 2009 #3


    User Avatar
    Science Advisor

    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.
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Similar Discussions: Hysteresis loop on MATLAB
  1. For loop in matlab (Replies: 3)