Octave problem with solution
8 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
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


Risposte (1)
Rik
il 30 Giu 2020
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 Commenti
Vedere anche
Categorie
Scopri di più su Octave in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!