how to rectify the below error..

1 次查看(过去 30 天)
Priya M
Priya M 2021-10-13
评论: Priya M 2021-10-13
Here i tried simple ordinary differential equation problem...i got an error..
Please anyone solve my query..and point out my mistakes..
i have attached my code also...
Thank you..

回答(1 个)

KSSV
KSSV 2021-10-13
You need to have the function cheb.m, which you can download from:
and then you need to change this line:
A=D^3+0+a2*D+a3*I;
to
A=D.^3+0+a2.*D+a3.*I;

类别

Help CenterFile Exchange 中查找有关 MATLAB 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by