Borrar filtros
Borrar filtros

Convert discontinuos angles to continuous angle

14 visualizaciones (últimos 30 días)
Paulo Oliveira
Paulo Oliveira el 23 de Mayo de 2014
Comentada: Paulo Oliveira el 24 de Mayo de 2014
Hi, I need help to convert discontinuous angles to continuous angle in my plots, anyone to help me? I saw something to matlab simulink, but I would want to change in code. Thank you for your help.
For other words, I have this plot,
and I want to convert for this plot,
Best wishes, Paulo Oliveira

Respuesta aceptada

Matt J
Matt J el 23 de Mayo de 2014
idx=theta>0;
theta(idx)=theta(idx)-360;
  8 comentarios
Matt J
Matt J el 23 de Mayo de 2014
but this function is just used in rad
Working in degrees would be just a simple modification
unwrap(thetaDegrees*pi/180)*180/pi;
Paulo Oliveira
Paulo Oliveira el 24 de Mayo de 2014
Yap, it works perfectly. Thank you very mush. ;)
Best wishes PO

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre 2-D and 3-D Plots en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by