How to use ouput of a function as input of second function
2 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(4 个)
Fangjun Jiang
2011-10-18
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 个评论
Michael
2011-10-18
[dtmf]=dtmfseg(x); ss=dtmfscor(dtmf,freq,L,fs);
or dtmfscor(dtmfseg(x),freq,L,fs);
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 DTMF 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!