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 件のコメント

darova
darova 2020 年 3 月 5 日
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