With the variables x,y,u,t and with
z=[0:0.001:20E-3];
f=50;
w=2*pi*f;
b=0.067;
Perfect would be if all become zero but it tells me (solve-function) that this it not possible.
Is there any function that can help me to calcultate the variables that all equations become close to zero. fsolve-function refused to work because of wrong input data type??
Thanks for your help!!
Subject: Problem while solving sinusodial equations
"Michael " <thebadphantom@gmx.de> wrote in message
SNIP
> Is there any function that can help me to calcultate the variables that all equations become close to zero. fsolve-function refused to work because of wrong input data type??
Hi Michael,
It is always difficult to solve set of nonlinear equations containing harmonic functions with unknowns in arguments. It is necessary that you have to have rather good estimate of the solution to get a chance of convergence of iterations. One way, how to overcome this difficulty is to solve many trial runs in which you choose such unknowns as random numbers from a known interval, and finaly to select the solution with minimum sum of squares of equation residuals.
I would use my function LMFnlsq from FEX Id. 17534, which is rather stable, however, it is impossible to guarantee the successful solution.
Good luck
Mira
Tags for this Thread
Add a New Tag:
Separated by commas
Ex.: root locus, bode
What are tags?
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.
NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for
all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content.
Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available
via MATLAB Central.
Read the complete Terms prior to use.