I have two simultaneous nonlinear equations like this
X^2-3cos(y)-A=0
2x+y^3+B=0
Where A and B are vectors, anyone have a m-file solving problem like this by Newton-Raphson method?
Hey there,
if don't want to self-implement a Newton scheme, there's a built-in rountine available: fsolve() that solves F(x) = 0. Assuming your two equations are scalar, use something like
F = @(x) [x(1)^2 - 3*cos(x(2)) - a; 2*x(1) + x(2)^3 + b];
x0 = [1;1];
xroot = fsolve(F, x0);
Verify the solution by typing F(xroot) (which should be close to the zero vector). This works analogously for vector-valued equations.
Best, FF
When describing diffraction profiles using a Lorentzian profile function correction of peak broadening is: B=B(measured)-B(instrumental) whereas using Gaussian profiles...
11 December 2016 7,559 6 View
what the parameters should i get from the LCR meter and what equation should to be used for impedance spectroscopy measurements a solar cell
04 May 2016 3,085 8 View
I have a CFG file and i want to convert it to cif or xyz file.
08 September 2014 10,130 1 View
i have a PoV-Ray files of my Sample Structure and i want to make a movie from these files.
08 September 2014 3,597 1 View
I want to do DSC measurements on my Ge-Se-S glasses samples to characterize its glass,crystallization and melting temperatures but for Aluminum pans its maximum temperature as 600 C, and for...
06 July 2014 587 5 View
How we can start a good data file which would control the simulation?
06 July 2014 2,528 1 View
I started working on using the envelope (Swanepoel 1983) method to obtain the optical constants, I was able to calculate the refractive index n and the thickness, but there are some problems such...
01 February 2014 1,940 12 View
What is the mean reason for the non-oscillating of structure factor around one and the reduced structure factor about zero at high k values?
07 August 2013 7,121 5 View
I have x ray data in text file contain two column the first is the diffraction angle(2 theta) and the second is the intensity and I don't know how to use this file as input file
06 July 2013 1,661 3 View
I need to write a XYZ or CHEM3D file for glassy GeSe4 and I don't know how to do this
06 July 2013 5,027 0 View
I am new to Micromechanics and having similar problem with understanding the implementation of the formula's. I would appreciate if anyone can guide me on how to go about getting a scalar value...
30 July 2024 969 0 View
Please, what is the memory consumption of the Matlab function quad tree decomposition procedure [S = qtdecomp(I)] with respect to the input set I?
27 July 2024 5,455 2 View
Hello, I am a research scholar currently working on a project involving image segmentation, and I am interested in using differential evolution for this purpose . I would greatly appreciate it if...
25 July 2024 9,926 1 View
Hello!!! I want to implement the Swerling characteristics functions (CF) directly in MATLAB without using its Fourier integral pairs...the Swerling CFs are actually Laplace Transform of the signal...
23 July 2024 4,925 1 View
Currently I need to calculate detection probabilities (PD) from radar cross section (RCS) data. Beta distribution parameters for this RCS data are calculated and will be used in Swerling0...
22 July 2024 867 0 View
Actually, I'm having trouble implementing the plot of the flutter region for the whirl prop system with 2 DOF (Influences of structural damping and propeller—pivot point distance on whirl flutter...
21 July 2024 5,047 2 View
Time-Frequency Domain
19 July 2024 8,031 2 View
Crack detection using Jestson nano board with real time camera
10 July 2024 6,283 0 View
I have a 3D output in the figure section of Matlab, does anyone know a way to transfer it to Abaqus or Ansys? Or in what format should I save it so that these analysis software can analyze it?
09 July 2024 9,226 3 View
I am working on some .edf files. I try to extract the frequency distributions from the EEG waves. The thing is, which i can't be sure if it is a problem or not, the most dominant frequency...
28 June 2024 6,897 4 View