How to use ouput of a function as input of second function
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
I have written a function
function [dtmf]=dtmfseg(x);
Now i want to use the output of this fuction as input to second function
fucntion ss=dtmfscor(dtmf,freq,L,fs)
How it is possible
0 Kommentare
Antworten (4)
Fangjun Jiang
am 18 Okt. 2011
Well, if you have those two functions defined, you can use:
dtmf=dtmfseg(x);
ss=dtmfscor(dtmf,freq,L,fs);
or one line
ss=dtmfscor(dtmfseq(x),freq,L,fs);
0 Kommentare
Michael
am 18 Okt. 2011
[dtmf]=dtmfseg(x); ss=dtmfscor(dtmf,freq,L,fs);
or dtmfscor(dtmfseg(x),freq,L,fs);
0 Kommentare
Siehe auch
Kategorien
Mehr zu DTMF finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!