How to use ouput of a function as input of second function
2 views (last 30 days)
Show older comments
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 Comments
Answers (4)
Fangjun Jiang
on 18 Oct 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 Comments
Michael
on 18 Oct 2011
[dtmf]=dtmfseg(x); ss=dtmfscor(dtmf,freq,L,fs);
or dtmfscor(dtmfseg(x),freq,L,fs);
0 Comments
See Also
Categories
Find more on DTMF 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!