Octave problem with solution

조회 수: 8 (최근 30일)
David Vujic
David Vujic 2020년 6월 30일
답변: Rik 2020년 6월 30일
Hi,
I new to programming, and I have a problem in Octave/Matlab. I have to solve this equation, solution is theta = 1.1725, but I always get 2,3213. Where is the problem code ? q =1
  댓글 수: 1
KSSV
KSSV 2020년 6월 30일
Copy the oce here...not image snippet...

댓글을 달려면 로그인하십시오.

답변 (1개)

Rik
Rik 2020년 6월 30일
You misplaced one dot: the division is currently a matrix division, instead of an element-wise operation. Note that subtraction is always element-wise, so the dot there is not needed.

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by