Differential equation using ode113

I have made a code for non-linear oscillator and used it solution x(t) in the coupled differential equation.see the code is it right. Some one please help.

댓글 수: 6

I reduced you time vector
tx = [0 1]; % Time vector
and succeeded
abhishek singh
abhishek singh 2020년 3월 6일
I written that code from pdf file i have given. I am asking about the code is it right or not and I want to rescale the time is there any way to do that.
darova
darova 2020년 3월 6일
The code for equations in PDF is correct
abhishek singh
abhishek singh 2020년 3월 6일
sumation of cos(n \Omega t) I have written is correct. I want to rescale time for lage value is it possible.
abhishek singh
abhishek singh 2020년 3월 17일
When I am giving time t=[0:1:20] the value of s1 is different then when I provide t=[0:0.1:20] what is the problem in code.
abhishek singh
abhishek singh 2020년 3월 17일
I have checked the value of s1(:,1)

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

답변 (0개)

카테고리

태그

질문:

2020년 3월 5일

댓글:

2020년 3월 17일

Community Treasure Hunt

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

Start Hunting!

Translated by