MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi
Learn moreOpportunities for recent engineering grads.
Apply TodayMATLAB Central > MATLAB Newsreader > finding complex root from nonlinear equations 

Subject: finding complex root from nonlinear equations From: Mars creature Date: 3 Jan, 2009 21:21:09 Message: 1 of 16 
Hi Matlab users, 
Subject: finding complex root from nonlinear equations From: Roger Stafford Date: 3 Jan, 2009 22:49:01 Message: 2 of 16 
Mars creature <jinbow@gmail.com> wrote in message <046c08c7878f4967bab141273a92bcbd@r2g2000vbp.googlegroups.com>... 
Subject: finding complex root from nonlinear equations From: Miroslav Balda Date: 3 Jan, 2009 23:13:01 Message: 3 of 16 
Mars creature <jinbow@gmail.com> wrote in message <046c08c7878f4967bab141273a92bcbd@r2g2000vbp.googlegroups.com>... 
Subject: finding complex root from nonlinear equations From: Mars creature Date: 4 Jan, 2009 16:21:45 Message: 4 of 16 
On Jan 3, 5:49 pm, "Roger Stafford" 
Subject: finding complex root from nonlinear equations From: John D'Errico Date: 4 Jan, 2009 16:33:02 Message: 5 of 16 
Mars creature <jinbow@gmail.com> wrote in message <f5f45956b72f4637abecc6ad168c231c@u14g2000yqg.googlegroups.com>... 
Subject: finding complex root from nonlinear equations From: Roger Stafford Date: 4 Jan, 2009 17:43:02 Message: 6 of 16 
Mars creature <jinbow@gmail.com> wrote in message <f5f45956b72f4637abecc6ad168c231c@u14g2000yqg.googlegroups.com>... 
Subject: finding complex root from nonlinear equations From: Steven Lord Date: 5 Jan, 2009 03:55:54 Message: 7 of 16 

Subject: finding complex root from nonlinear equations with complex arguments From: Ramesh Kudenatti Date: 8 Jan, 2009 16:51:02 Message: 8 of 16 
Hi 
Subject: finding complex root from nonlinear equations with complex arguments From: Venkat raman Thenkarai Narayanan Date: 20 May, 2009 16:00:21 Message: 9 of 16 
Hi, 
Subject: finding complex root from nonlinear equations with complex arguments From: Venkat raman Thenkarai Narayanan Date: 20 May, 2009 16:00:21 Message: 10 of 16 
Hi, 
Subject: finding complex root from nonlinear equations with complex arguments From: Steven Lord Date: 20 May, 2009 17:18:33 Message: 11 of 16 

Subject: finding complex root from nonlinear equations From: Venkat raman Thenkarai Narayanan Date: 20 May, 2009 17:30:04 Message: 12 of 16 
Hi Miroslav, 
Subject: finding complex root from nonlinear equations From: Venkat raman Thenkarai Narayanan Date: 20 May, 2009 17:30:05 Message: 13 of 16 
Hi Miroslav, 
Subject: finding complex root from nonlinear equations with complex arguments From: Venkat raman Thenkarai Narayanan Date: 20 May, 2009 18:40:17 Message: 14 of 16 
It didnt work out since LMFnlsq is written a bit differently (example given in the thread). LMFnlsq expects an equation file input ('res' in the example) But, what if the function isnt a polynomial and suppose i had y = c1*log(x) + c2/sinh(x) + c3*cosh(x).. I cant use polyval here.. My question is how would you have to modify the 'res' file in the example given by Miroslav to get c1, c2 and c3 from the command prompt rather than them being defined in the file itself. Kindly let me know. 
Subject: finding complex root from nonlinear equations with complex arguments From: Miroslav Balda Date: 20 May, 2009 19:26:01 Message: 15 of 16 
"Venkat raman Thenkarai Narayanan" <thavil@yahoo.com> wrote in message <gv1iqh$84n$1@fred.mathworks.com>... 
Subject: finding complex root from nonlinear equations From: Thomas Date: 15 Jun, 2010 15:10:22 Message: 16 of 16 
"Steven Lord" <slord@mathworks.com> wrote in message <gjs0cb$e03$1@fred.mathworks.com>... 
A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.
Anyone can tag a thread. Tags are public and visible to everyone.