Anyone know why it isnt accepting my expression
1 view (last 30 days)
Show older comments
uk= w + vk + (cuc*cos(2(w+vk)))+ (cus*sin(2(w+vk))
Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched
delimiters.
0 Comments
Accepted Answer
Steven Lord
on 2 May 2021
Edited: Steven Lord
on 2 May 2021
You're missing two multiplication signs. This is not valid MATLAB code.
2(w+vk)
You need
2*(w+vk)
0 Comments
More Answers (0)
See Also
Categories
Find more on Logical 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!