how to rectify the below error..

1 view (last 30 days)
Priya M
Priya M on 13 Oct 2021
Commented: Priya M on 13 Oct 2021
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..

Answers (1)

KSSV
KSSV on 13 Oct 2021
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;

Categories

Find more on MATLAB in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!