Octave problem with solution
22 次查看(过去 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 个)
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.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Octave 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!