Lowest differential in data group

hi, i want ask about how to find out the lowest difference in data group? if highest difference in data group use peak2peak, how if the lowest one ? thanks for your attention

1 comentario

Torsten
Torsten el 18 de Abr. de 2016
What according to your definition is the "lowest difference" in a = [ 1 5 6 17 ] ?
1 - 17 = -16
or
5 - 6 = -1
?
Best wishes
Torsten.

Iniciar sesión para comentar.

Respuestas (1)

Azzi Abdelmalek
Azzi Abdelmalek el 18 de Abr. de 2016

0 votos

Apply the same function to -A (A is your matrix)

1 comentario

Denny Bhatara
Denny Bhatara el 18 de Abr. de 2016
Editada: Denny Bhatara el 18 de Abr. de 2016
peak2peak(-a)?
Ex a = [ 1 5 6 17 ] If i want find out the highest difference is b=peak2peak(a) And then b = 16 How i want find out lowest difference?

Iniciar sesión para comentar.

Categorías

Más información sobre MATLAB en Centro de ayuda y File Exchange.

Productos

Preguntada:

el 18 de Abr. de 2016

Comentada:

el 18 de Abr. de 2016

Community Treasure Hunt

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

Start Hunting!

Translated by