kaustubh
Junior Member level 3
Hello everyone
as part of my final year project i would like to know if any of u have got a code for implementing forward prediction using LMS. I have myself tried to write a code on MATLAB but it i am simply not able to predict a large chunk of data( here i have taken the desired signal as a cosine wave). i feel i should perhaps try to train my weights with some more data ( here i had considered around 10,000 samples).
also i am able to predict the signal if my fmfs=10*fs where fm is the freq. of the cosine wave and fs is the sampling frequency. i fail to understand why the code doesnt work if i increase fs to a large value. Please help !
Added after 1 minutes:
fm= fs* 10 and not fmfs=fs*10 as was mentioned in the previous post
as part of my final year project i would like to know if any of u have got a code for implementing forward prediction using LMS. I have myself tried to write a code on MATLAB but it i am simply not able to predict a large chunk of data( here i have taken the desired signal as a cosine wave). i feel i should perhaps try to train my weights with some more data ( here i had considered around 10,000 samples).
also i am able to predict the signal if my fmfs=10*fs where fm is the freq. of the cosine wave and fs is the sampling frequency. i fail to understand why the code doesnt work if i increase fs to a large value. Please help !
Added after 1 minutes:
fm= fs* 10 and not fmfs=fs*10 as was mentioned in the previous post