Mismatched delimiters relating to log() function?

조회 수: 3 (최근 30일)
Matthew Long
Matthew Long 2020년 10월 28일
답변: Star Strider 2020년 10월 28일
This is my matrix:
D(:,:,i) = [Re.^theta(2,i) log(Re.)*theta(1,i)*(Re.^theta(2,i))];
It says I have mismatched delimiters at column 41. Any explanation is greatly appreciated.

답변 (1개)

Star Strider
Star Strider 2020년 10월 28일
You have a typo:
D(:,:,i) = [Re.^theta(2,i) log(Re.)*theta(1,i)*(Re.^theta(2,i))];
↑↑ PROBLEM
solution:
D(:,:,i) = [Re.^theta(2,i) log(Re).*theta(1,i)*(Re.^theta(2,i))];
↑↑ REVERSED
.

카테고리

Help CenterFile Exchange에서 Logical에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by