photo

gianluca messina


Active since 2011

Followers: 0   Following: 0

Message

Statistics

  • Thankful Level 1

View badges

Feeds

View by

Question


fitting function with many parameters (fminsearch)
Hi guys, I am fitting diffraction data using a custom-made function. The solver I am using is fminsearch, which searches the ...

11 years ago | 2 answers | 0

2

answers

Answered
Solving a sine-cosine equation ( Warning: Explicit solution could not be found.)
Hi all, I'm in trouble because I need to find the zeros of this equation: f1 = (1./(1-cax) .* (cax-1+cnax.*(1-cax)+snax.*sax...

13 years ago | 0

Question


Solving a sine-cosine equation ( Warning: Explicit solution could not be found.)
Hi, I'm trying to solve a symbolic equation (the more solution I get the better is), this is my code: clear all; close al...

13 years ago | 4 answers | 0

4

answers

Question


find all minima present in a user defined one variable function
hi, I want find all the minima of a one variable function defined by me f(x) = @(x)... inside the interval [x_l, x_r]. I sea...

13 years ago | 1 answer | 0

1

answer

Answered
search minimum of a parameter function with the constrain that one parameter must be integer
You are right. The only problem now is that I have a second parameter inside the exponential and matlab find it negative, that h...

13 years ago | 0

Question


search minimum of a parameter function with the constrain that one parameter must be integer
Hi, I'm looking for the minimum of sum((f(x)-data(x))^2), where f(x)= (sum(exp(1i .* x .* jz))).^2 where jz = 1,2,...nz and nz...

13 years ago | 2 answers | 0

2

answers

Answered
lsqcurvefit of a summation function where the parameter to evaluate is the last index of the summation (so an integer)
Here is the code: clear all; close all; load 'C:\Users\gianluca\Desktop\002Cr-V_Lscan\Cr_MgO_69.txt'; xdata = (Cr_MgO_...

13 years ago | 0

Answered
lsqcurvefit of a summation function where the parameter to evaluate is the last index of the summation (so an integer)
Hi Arnaud, I followed your advice, the problem is that when I calculate the sum both using an iteration and f = @(x,xdata) sum(...

13 years ago | 0

Question


lsqcurvefit of a summation function where the parameter to evaluate is the last index of the summation (so an integer)
Hi, I'm doing the fit of a function substantially similar to this one: f(x)= sum ( exp(1i * x * jz * c) ) , where: - sum represe...

13 years ago | 5 answers | 0

5

answers