MATLAB Answers

Anyone know why it isnt accepting my expression

조회 수: 1(최근 30일)
selin celik
selin celik 2021년 5월 2일
편집: Steven Lord 2021년 5월 2일
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.

채택된 답변

Steven Lord
Steven Lord 2021년 5월 2일
편집: Steven Lord 2021년 5월 2일
You're missing two multiplication signs. This is not valid MATLAB code.
2(w+vk)
You need
2*(w+vk)

추가 답변(0개)

태그

Community Treasure Hunt

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

Start Hunting!

Translated by