|
上面的程序我也出现了问题,
??? Error using ==> toimage
Too many output arguments.
Error in ==> emdexzample at 14
[E,t,Cenf]=toimage(A,f,t);
后面我特意查了下toimage函数,
>> help toimage
[im,tt] = TOIMAGE(A,f,t,splx,sply) transforms a spectrum made
of 1D functions (e.g., output of "spectreh") in an 2D image
inputs : - A : amplitudes of modes (1 mode per row of A)
- f : instantaneous frequencies
- t : time instants
- splx : number of columns of the output im (time resolution).
If different from length(t), works only for uniform
sampling.
- sply : number of rows of the output im (frequency resolution).
outputs : - im : 2D image of the spectrum
- tt : time instants in the image
utilisation : [im,tt] = toimage(A,f);[im,tt] = toimage(A,f,t);[im,tt] = toimage(A,f,sply);
[im,tt] = toimage(A,f,splx,sply);[im,tt] = toimage(A,f,t,splx,sply);
发现楼主上面的那个再我的MATLAB2009a版本中不能运行下去,而那个Cenf在toimage中也没有相应的。。。
想问问各位高人是怎么解决的? |
|