Community Profile

photo

Bui Thien Phuc


Actif depuis 2019

Followers: 0   Following: 0

Statistiques

  • Thankful Level 1

Afficher les badges

Feeds

Afficher par

Question


What wrong in line 12 ?? help me please (Index exceeds matrix dimensions.)
clear close all; N=10; h = 0.5; u1(1)= 2 ; u2(1)= 3 ; u3(1)=0 ; t(1) = 0; for n=1:N u3(n+1)=u1(n)+h*u2(1); u1(...

environ 5 ans il y a | 2 réponses | 0

2

réponses

Question


subscript indices must either be real positive integers or logicals help line u1(0)=2
clear close all; h = 0.5; N = 10; u1(0)= 2 ; u2(0)= 3 ; t(0) = 2; for n=0:10 u1(n+1)=u1(n) +h*u2(n); u2(n+1)=u2...

environ 5 ans il y a | 1 réponse | 0

1

réponse