ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

mismatch between LabVIEW and MATLAB normalized LMS example

Hi,

 

I've been trying to use NLMS filter in a project I'm working on. The problem is, NLMS code in LabVIEW gives different results than adaptfilt.nlms function in MATLAB. What I did was

1. use the example in adaptfilt.nlms help http://www.mathworks.com/help/dsp/ref/adaptfilt.nlms.html

2. transfer x,d,y,e from MATLAB into LabVIEW

3. use LabVIEW code in attachment to generate y and e from LabVIEW

4. compare y,e from MATLAB with y,e from LabVIEW

I found they are different. Yes, both converge to desired signal but why are they different? shouldn't they be exactly the same?

 

Thanks

0 Kudos
Message 1 of 1
(2,993 Views)