필터 지우기
필터 지우기

Bin data to sinwave

조회 수: 3 (최근 30일)
Shane
Shane 2013년 4월 4일
Is there a easy and computationally efficient way to group data according to a sin wave? So say I have 20,000 data points, that I want to group into bins following a sinwave, i.e. the data gets grouped by smaller amounts (say ~20) data points in the middle but into larger amounts on the edge (~100) where the sinwave is changing less as a function of time.
And I need to do this all very computationally efficient since I want to do it A LOT in real time. My current method I am doing seems overly complex, I feel like this should be easier.
  댓글 수: 1
Jan
Jan 2013년 4월 4일
It depends. What kind of data are you talking of? Where do they come from? Are you talking about one period of a sin wave or does it contain more waved lengths? What is "the middle"? What is the edge? Actually I think that the derivative of the sin has a maximum at 0, but this would mean that 0 is not one of your "edges".

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Scatter Plots에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by