how to rectify the below error..

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 个)

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;

类别

帮助中心File Exchange 中查找有关 Mathematics and Optimization 的更多信息

提问:

2021-10-13

评论:

2021-10-13

Community Treasure Hunt

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

Start Hunting!

Translated by