03-20-2007 01:09 PM
03-21-2007 04:29 PM
03-21-2007 07:19 PM
@bcvan wrote:
When I try this one to fit my signal (over 10 components for each signal), I got too many zeros (only 1 or 2 factors are not zero) which is not what I expected. I don't know the problem comes from the NNLS algorithm or the program needs some improvement?
03-27-2007 02:37 PM
03-27-2007 03:20 PM
12-05-2011 02:28 PM
Hi,
I have started using this code too and it works very well.
I have made the changes suggested by Altenbach and have also found the only downside is the time taken to complete the calculations.
In comparison the Matlab command.
On same data set LabVIEW ~ 55secs, Matlab <1sec.
Has anyone found a faster way of doing this?
One solution is to build a Matlab dll with the function embedded, install the Matlab runtime engine, write a C wrapper and call the function that way, but I'd rather do it natively in LabVIEW.