The error 'Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched delimiters.', is coming up for line 30
5 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Shimelis Abebe
le 15 Juil 2021
Modifié(e) : Shimelis Abebe
le 24 Juil 2021
% anyone see my issue? this is my line 30, 150..:
here line 31 how can I fix?
plot3 (areaX, areay, ( (areaX+areay) *O)); hold on
plot3 (areaX, areay, ( (area+area) *0)+3.5); hold on
plot3 ([areaX; areaX], [areaY; areaY], ( (areaX+areaY)*0):((areaX+areaY)*0)+3.5), 'g');
0 commentaires
Réponse acceptée
Walter Roberson
le 15 Juil 2021
plot3 ([areaX; areaX], [areaY; areaY], ( (areaX+areaY)*0):((areaX+areaY)*0)+3.5), 'g');
1 2 3 2 1 23 2 1 0 !
You have one more ) than you have (
3 commentaires
Walter Roberson
le 16 Juil 2021
plot ([user (nu) . X + user (nu) . VX 1, [user (nu) . Y+user (nu) .VY1,
That code has five ( but four ) . It has two [ but no ] . It abruptly ends after a comma.
Also there are lines where you call ploc3 instead of plot3
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Annotations dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!