Unexpected Matlab Expression ?
Show older comments
I am new to coding and am unsure why my code does not work it says "Unexpected MATLAB expression" for the 3 in my code.
This is my code E(x)= [-1 1] 3 . * exp (1) . ^ ((-x)./4)
Any help is appreciated
4 Comments
Jose Marques
on 11 Sep 2017
Should be something between [-1 1] and 3.* ? What this represents?
Jose Marques
on 11 Sep 2017
Maybe it is better to explain what the expression means.
Natalie Brehaut
on 11 Sep 2017
Natalie Brehaut
on 11 Sep 2017
Accepted Answer
More Answers (0)
Categories
Find more on Characters and Strings 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!