Erreur en matlab
lolo
-
gigo -
gigo -
Bonjour,
j'ais un programme en matlab
function[x]=triainf(a,b)
n=length(a);
x(1)=b(1)/a(1,1);
for i=2:n
x(i)=(b(i)-a(i,j=1:i-1)*x(j))/a(i,i);
end
end
en l' executant sur la matrice a =
1 0 0
4 5 0
7 8 9
et le vecteur b =
1
2
3
MATLAB m'afiche cette erreur
??? Error: File: C:\MATLAB6p1\work\triainf.m Line: 5 Column: 22
MATLAB assignment cannot be nested.
je n'ais pas compris ou est mon erreur
svp aider moi
j'ais un programme en matlab
function[x]=triainf(a,b)
n=length(a);
x(1)=b(1)/a(1,1);
for i=2:n
x(i)=(b(i)-a(i,j=1:i-1)*x(j))/a(i,i);
end
end
en l' executant sur la matrice a =
1 0 0
4 5 0
7 8 9
et le vecteur b =
1
2
3
MATLAB m'afiche cette erreur
??? Error: File: C:\MATLAB6p1\work\triainf.m Line: 5 Column: 22
MATLAB assignment cannot be nested.
je n'ais pas compris ou est mon erreur
svp aider moi
A voir également:
- Erreur en matlab
- Erreur t32 ✓ - <a href="https://forums.commentcamarche.net/forum/livebox-200">Forum Livebox</a>
- Erreur s3 bbox - <a href="https://forums.commentcamarche.net/forum/bbox-bouygues-285">Forum Bbox Bouygues</a>
- Erreur 4101 - <a href="https://forums.commentcamarche.net/forum/carte-graphique-181">Forum Carte graphique</a>
- Iptv erreur de lecture - <a href="https://forums.commentcamarche.net/forum/tv-video-21">Forum TV & Vidéo</a>
- Erreur France TV : impossible de lire les vidéos en replay - <a href="https://forums.commentcamarche.net/forum/lecteurs-et-supports-video-245">Forum Lecteurs et supports vidéo</a>
salopar