photo

gianluca messina


Attivo dal 2011

Followers: 0   Following: 0

Messaggio

Statistica

  • Thankful Level 1

Visualizza badge

Feeds

Visto da

Domanda


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 ...

oltre 11 anni fa | 2 risposte | 0

2

risposte

Risposto
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...

oltre 13 anni fa | 0

Domanda


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...

oltre 13 anni fa | 4 risposte | 0

4

risposte

Domanda


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...

oltre 13 anni fa | 1 risposta | 0

1

risposta

Risposto
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...

oltre 13 anni fa | 0

Domanda


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...

oltre 13 anni fa | 2 risposte | 0

2

risposte

Risposto
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_...

oltre 13 anni fa | 0

Risposto
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(...

oltre 13 anni fa | 0

Domanda


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...

oltre 13 anni fa | 5 risposte | 0

5

risposte