How to use ouput of a function as input of second function
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuestas (4)
Fangjun Jiang
el 18 de Oct. de 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 comentarios
Michael
el 18 de Oct. de 2011
[dtmf]=dtmfseg(x); ss=dtmfscor(dtmf,freq,L,fs);
or dtmfscor(dtmfseg(x),freq,L,fs);
0 comentarios
Ver también
Categorías
Más información sobre DTMF en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!