MATLAB Answers

How to define Estimated Correlation Formula on MATLAB?

조회 수: 1(최근 30일)
Hosein Haji Esmaeeli
Hosein Haji Esmaeeli 2020년 12월 3일
댓글: Jon 2020년 12월 3일
I really can't define this Equation On MATLAB
I've defined u(t) and y(t) with for loop
& I tried to define it with 2 inner fors

채택된 답변

Jon 2020년 12월 3일
You are convolving y with itself and u with itself. You should be able to do this using the MATLAB conv function.
You should also be able to do it with a double for loop (one for loop inside of another). What problem did you have trying to do that?
  댓글 수: 1
Jon 2020년 12월 3일
Sorry, I should have said you are in the first instance convolving y with u, not with itself. In any case it is still a convolution and you can use conv for that

댓글을 달려면 로그인하십시오.

추가 답변(0개)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by