Borrar filtros
Borrar filtros

Help setting the lower threshold for filter....

3 visualizaciones (últimos 30 días)
MSP
MSP el 8 de Oct. de 2016
Comentada: Image Analyst el 9 de Oct. de 2016
THANKS FOR YOUR TIME FIRST. PLS HELP ME OUT I HAVE BEEN STUCK HERE FOR A LONG TIME
Here is a function that i wrote to detect peaks named (filterbeeps) In the mainfile what i want is to get the value of c.
If it (c<9) happens then i want to make third argument of (filterbeeps.m) (n-s) where s is the for loop variable.so that i can get c >9............... if that does not happen i want to increase the value of s and then check again
Else if (c>13) happens then i want to make third argument of (filterbeeps.m) (n+s) where s is the for loop variable.so that i can get c < 13.............. if that does not happen i want to increase the value of s and then check again
So basically i want c to be within 9 to 13
Just note that the average value of x i get from arduino is around the range (1.5-2.3)
  1 comentario
Image Analyst
Image Analyst el 9 de Oct. de 2016
"Here is a function that i wrote"
Where is that function that you wrote? You forgot to put it into the body of your post or attach it with the paper clip icon. Please edit your post to include the code that you wrote and explain what is wrong with it such that normal debugging is unable to fix it.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Arduino Hardware 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