help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

symbolic fsolve


From: Leo07nard
Subject: symbolic fsolve
Date: Wed, 19 Aug 2015 11:53:22 -0700 (PDT)

Hey everyone,
  I am going to solve a system equations with symbolic characteristic. For
example I define a equation like below :
syms d

y=@(x) d*x^2+x; 
a=fsolve(@(x) y(x),[1])
but the result is:

error: operator =: no conversion for assignment of 'class' to indexed
'scalar'
error: assignment failed, or no method for 'scalar = class'
error: called from:
error:  
C:\Octave\Octave-3.8.1\share\octave\3.8.1\m\optimization\private\__fdja
c__.m at line 33, column 17
error:   C:\Octave\Octave-3.8.1\share\octave\3.8.1\m\optimization\fsolve.m
at li
ne 236, column 12

How to get rid of this problem and solve the equation?
Thanks



--
View this message in context: 
http://octave.1599824.n4.nabble.com/symbolic-fsolve-tp4672190.html
Sent from the Octave - General mailing list archive at Nabble.com.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]