Borrar filtros
Borrar filtros

Values being repeated for nmc times

1 visualización (últimos 30 días)
Offroad Jeep
Offroad Jeep el 15 de Sept. de 2015
Comentada: Walter Roberson el 16 de Sept. de 2015
Hi all, The initial values are calculated fine. Firstly, in the loop for first value of magnetic field, calculate zeeman energy, if new_zeeman < initial_zeeman, do the steps as defined but I am getting multiple values.
Secondly, the angles should be added in the previous sum eg if initial angle is 0 and first dtheta is 2 it should be 0+2 =2 , in the next is dtheta is 3 angle should be 2+3 = 5...... and so on
Finally for all values of mag_reverse we should get zeeman and then magnetization.

Respuestas (1)

Walter Roberson
Walter Roberson el 15 de Sept. de 2015
zeeman_new= - mag_reverse(i) * magnetization * cosd(new_angle)
  2 comentarios
Offroad Jeep
Offroad Jeep el 15 de Sept. de 2015
Not working........ :(
Walter Roberson
Walter Roberson el 16 de Sept. de 2015
Did it fix the multiple value problem?

Iniciar sesión para comentar.

Categorías

Más información sobre Line Plots en Help Center y File Exchange.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by