필터 지우기
필터 지우기

Question over pseudo algorithm

조회 수: 2 (최근 30일)
GCats
GCats 2021년 3월 29일
댓글: darova 2021년 3월 29일
Hi all!
I'm trying to convert this pseudo algorithm into code. Essentially, I am solving a differential equation with ode45 which gives results in the time domain. Since my function is non-linear, I want to take the last value of each iteration, store it and then FFT the new signal. In the end, I want the results in the frequency domain.
Attahched the pseudocode I'm trying to follow. I'm especially lost on how to create the line: y0(f_i+1) = y_end(f_i)
Any help is appreciated, thank you!
  댓글 수: 2
darova
darova 2021년 3월 29일
Where is an equation for ODE45? Please show your attempts. DO you have a code?
darova
darova 2021년 3월 29일
im sorry, removed the picture in the qustion for instance. Can you upload it again?

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

채택된 답변

Jan
Jan 2021년 3월 29일
y0(f_i+1) = y_end(f_i):
y0 = y(end, :)

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Ordinary Differential Equations에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by