Wavelet Analysis with Spreadsheet Link
Mostrar comentarios más antiguos
Hello,
I am using Matlab 9.5.0.944444 (R2018b) and Excel 2016. I am having difficulty structuring the aruments to perform
wavelet analysis and update the results into column AD in Excel. Below is the code I am using. I am pretty sure the "connection"
code is correct....ie....the code that commuincates between Matlab and Excel as I have other code blocks that are communicating
and Matlab is performing the anlaysis and porting the results back into other Excel columns just fine. Therefore, I believe that code is fine.
However, I am not getting ( ANY ) results from this code block below :
Sub Matlab_Calculate()
MLPutRanges
MLEvalString "[sigden,~,thrParams] = cmddenoise(CP,'db9',5);"
MLEvalString AD = "sigden;"
MLGetMatrix "AD", "AD5"
MatlabRequest
When I run this code from the command line I get the 5th level thresholding results plotted as expected :
[sigden,~,thrParams] = cmddenoise(CP,'db9',5);
thrParams{5}
plot(CP,'r');
axis tight
hold on
plot(sigden,'k');
title('Original and Denoised Signals');
Respuestas (0)
Categorías
Más información sobre Continuous Wavelet Transforms en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!