Applying function to signal
Show older comments
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?
Answers (1)
Azzi Abdelmalek
on 27 Jan 2013
Edited: Azzi Abdelmalek
on 27 Jan 2013
function J=yourfunction(I)
%write your code
%J=...
6 Comments
Berbia
on 27 Jan 2013
Azzi Abdelmalek
on 27 Jan 2013
Can you provide an example?
Azzi Abdelmalek
on 27 Jan 2013
Edited: Azzi Abdelmalek
on 27 Jan 2013
I dont know what you mean by as required. Can you give a clear example with relation between inputs and outputs
Berbia
on 27 Jan 2013
Azzi Abdelmalek
on 27 Jan 2013
Sorry, I can't understand.
Categories
Find more on Matrix Indexing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!