Unexpected Matlab expression?
Mostrar comentarios más antiguos

I''m trying to run this through Matlab and it says there's an unexpected Matlab expression, but I don't understand what the problem is. Can someone help me out?
Respuestas (1)
Star Strider
el 2 de Feb. de 2016
0 votos
I suspect it’s because there is an equal sign in the middle of the expression. However, we have no idea what you’re doing or if you’re using the Symbolic Math Toolbox (that requires a double equal sign ‘==’) in that instance.
It would be best if you posted the entire expression, and describe what you intend to do with your MATLAB code.
3 comentarios
Image Analyst
el 2 de Feb. de 2016
Also we don't know what (stuff)^(1/2)isim means. Is that supposed to be stuff raised to the one-half isim power? Or (stuff to the one-half power) times isim? Basically you'd need something between the ) and the isim, like a multiplication symbol *.
Steven Lord
el 2 de Feb. de 2016
I suspect what's missing there is a semicolon, to separate the two statements.
Star Strider
el 2 de Feb. de 2016
That may be correct. I didn’t see the little red vertical arrow until just now.
Categorías
Más información sobre Common Operations en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!