Octave problem with solution

9 ビュー (過去 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 Center および File ExchangeOctave についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by