'Unbalanced or Unexpected Paranthesis or Bracket' Error in my Command Window
Show older comments
Hello, I'm trying to plot an equation for one of my assignments. Whenever I try to submit my function, I get the error. The lines are as followed:
>> y=exp(-2*t.)*(.034*cos(19.9*t)-.00095*sin(19.9*t))+.066*cos(10*t)+.0087*sin(10*t);
y=exp(-2*t.)*(.034*cos(19.9*t)-.00095*sin(19.9*t))+.066*cos(10*t)+.0087*sin(10*t);
↑
Error: Unbalanced or unexpected parenthesis or bracket.
I cannot figure out what is wrong with that one parenthesis in the first component.
Any help is appreciated. Thanks!
Accepted Answer
More Answers (0)
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!