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.

Antworten (1)

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.

Kategorien

Mehr zu Entering Commands finden Sie in Hilfe-Center und File Exchange

Produkte

Version

R2023a

Gefragt:

am 28 Aug. 2023

Beantwortet:

am 28 Aug. 2023

Community Treasure Hunt

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

Start Hunting!

Translated by