필터 지우기
필터 지우기

Applying function to signal

조회 수: 2 (최근 30일)
Berbia
Berbia 2013년 1월 27일
I have an I-dimensional input signal
x(t)=[x1(t),...xI(t)]T
and J-dimensional input-output function
g(x)=[g1(x),....gJ(x)]T
these functions are saved as a J-dimensional matrix, while applying these functions to the input signal I should get the J-dimensional output signal by,
yj(t)=gj(x(t)) where j={1,2....J}
How to implement this in matlab?

답변 (1개)

Azzi Abdelmalek
Azzi Abdelmalek 2013년 1월 27일
편집: Azzi Abdelmalek 2013년 1월 27일
function J=yourfunction(I)
%write your code
%J=...
  댓글 수: 6
Berbia
Berbia 2013년 1월 27일
I'm trying to extract the slow features from the input signal by using the algorithm Slow Feature Analysis(SFA) by using the sfa-toolkit. I'm expecting the output should be 200*5, but the tool-kit returns the output signal of dimension 500*5, where 500 is the input signal dimension.
while I changing the Slow function dimension I met with the error
??? Error using ==> mtimes
Inner matrix dimensions must agree.
so I'm wondering the dimension of g(x) which should result me the output of dimension 200*5. Anyway I can manage my project, thank you for your time and consideration.
Azzi Abdelmalek
Azzi Abdelmalek 2013년 1월 27일
Sorry, I can't understand.

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

카테고리

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

태그

Community Treasure Hunt

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

Start Hunting!

Translated by