Error in code, "Invalid expression. Check for missing multiplication operator, missing or unbalanced delimiters, or other syntax error. To construct matrices, use brackets instead of parentheses. "

I'm trying to write in a derivative of f(t)= (1)/(55) (20π sin((1)/(11) π t) + 33ℯ^(-((3)/(10)) t) sin(2π t) - 220π ℯ^(-((3)/(10)) t) cos(2π t))
here's what I'm writting in:
Td=1/55*(20*pi*sin(1/11*pi*t)+33*exp(-3/10*t).*sin(2*pi*t)-220*pi*exp(-3/10*t).*cos(2*pi*t)) t;

回答 (1 件)

the cyclist
the cyclist 2021 年 3 月 25 日
編集済み: the cyclist 2021 年 3 月 25 日
You seem to have a rogue t at the end of your expression. If you get rid of that, then ...
Td=1/55*(20*pi*sin(1/11*pi*t)+33*exp(-3/10*t).*sin(2*pi*t)-220*pi*exp(-3/10*t).*cos(2*pi*t));
Note that in the MATLAB editor, a red squiggly line appeared under that t, indicating the syntax error.

カテゴリ

ヘルプ センター および File ExchangeSymbolic Math Toolbox についてさらに検索

質問済み:

2021 年 3 月 25 日

編集済み:

2021 年 3 月 25 日

Community Treasure Hunt

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

Start Hunting!

Translated by