I have a code but it keep saying "invalid expression. when calling a function or indexing a variable, use parentheses. otherwise check for mismatched delimiters.
Show older comments
Tengo este error me podrian ayudar a entender por favor

Answers (1)
Voss
on 28 Aug 2023
0 votes
You have 10 open parentheses "(" but only 9 close parentheses ")".
I can't say for sure whether (or where) you need to remove an open parenthesis or add a close parenthesis, but if I had to guess, I would say you can add a close parenthesis just before the comma.
Categories
Find more on Entering Commands 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!