Recent content by nikki92

  1. N

    MATLAB Troubleshooting MATLAB dmcode in R2013a

    I have MATLAB R2013a. I am wondering why dmcode will not work.
  2. N

    Principal component analysis-matlab

    Basically x= randn(100,15) x_centered=(eye(100)-(1/100)*ones(100,100))*x to subtract the mean to center the data [s,d,v]=svd(x_centered); I need to find the principal components which just the eigenvalues but according to my professor {divi}for i = 1 to 15. Then I am asked what is the pca...
  3. N

    Principal component analysis-matlab

    Homework Statement How do I find the error of the PCA? ||x1hat - x1||^2 + ...+ ||xnhat-xn||^2 so xnhat is the pca one. What is xn?
  4. N

    Understanding Steady State Coefficients in Adaptive Filters

    If I am trying to find the steady state coefficients of a filter, when do I know the coefficients went into the steady state? In another words, steady state means it converged to a single value or that it is bounded between values? If say it is bounded between values how would I go about...
  5. N

    Proving E[x]=0 for x=cos(2n*pi/n)

    Thanks I understand it much better now.
  6. N

    Proving E[x]=0 for x=cos(2n*pi/n)

    There is really no details on the problem as it was not really homework.But I assumed n=1 to N and each were equally likely. I do not understand your approach.
  7. N

    Proving E[x]=0 for x=cos(2n*pi/n)

    Homework Statement x=cos(2n*pi/n) E[x]=0; The Attempt at a Solution
  8. N

    In matlab how do I write u(n) in order to get the autocorrelation?

    I am not having trouble getting a function for auto-correlation, I am just not sure how to code u(n) in a way to input it into xcorr, also how would I represent v(n) in a way so it remains uncorrelated with s(n).
  9. N

    In matlab how do I write u(n) in order to get the autocorrelation?

    Homework Statement u(n) = .4s(n)+.7s(n) -.1s(n-2)+v(n) where v(n) is zero mean and has variance 0.003 and uncorrelated with s(n) I want the autocorrelation is E[u(n-k)u(n)] I can solve it easily by hand which is the follow so r(k) = 0.663 for k =0, 0.21 for k=1 , -0.04 for k=2 and the rest...
  10. N

    Calculating Optimal Weights for MVDR Signal Processing Gain

    Thanks! So the power is simply represented by the real part?
  11. N

    Calculating Optimal Weights for MVDR Signal Processing Gain

    Using a MVDR method for a uniformly spaced linear array of sensors, I calculated the optimal weights. The procesing gain is (SIR)out / (SIR)in . The value turned out complex. Is this possible/makes sense?
  12. N

    Transfer functions and cut off frequency

    H(jw)=jw/(jw+1/RC) H(jw) = jw[C/(Rs+c)]/ {jw +Rsc/[(Rs+c)R ]} H(jw) = {[1/(R1C1)] - w^2 } / {1/(R1C1) - w^2 +jw/(R2C1)}
  13. N

    Transfer functions and cut off frequency

    Homework Statement RC parallel circuit with the resistor first and the capacitor next. find the transfer function H(jw) resistor first then capacitor transfer function of a circuit with resister serial then capacitor and resister parallel I have absolutely no background in...
  14. N

    Calculating Mean Square Error with Pseudo Inverse Approach

    I have a linear question A*F =R where R is the diagonal 11 x 11 matrix A is 9X11 and F is 9X1. This system is over determined. I am confused on how to get the values of F . I get that F =[(A'A)^-1 ]A' R which gives me a 9 x 11 matrix which does not make sense .
  15. N

    Calculating Mean Square Error with Pseudo Inverse Approach

    Find the mean square error using the pseudo inverse approach. I am given a 11X9 matrix A, a 11X1 vector F and R = 11X11 diagonal matrix so Rhat = A[(A'A)^-1 ]A' R . Then I get a 11X11 matrix. Shouldn't I get getting a 8X11 matrix How do I get the most optimum vector F?