Question

The minimum value of a matrix array and its index

Hello everybody, I want to get a single minimum value of a matrix and know its index.What shold I do? Thank you very much

2 months ago | 1 answer | 0

Question

Error messages during using Genetic algorithm and lsqnonlin optimization functions

Currently,I am running optimization script file by using the outputs from the genetic algorithm function in the least square non...

5 months ago | 1 answer | 0

Question

Using results from genetic algorithm as initial values in least square non-linear fitting

I have tried to take the initial values from genetic algorithm and use them in the least square nonlinear fit but every time I t...

5 months ago | 0 answers | 0

Question

Indexing in a vector

I am trying to extract maximum value from a vector by max() function,however I need to know the index of this value in the vect...

5 months ago | 2 answers | 0

Question

Nonlinear least-squares data fit

I am trying to make a data fit for the data attached to this post,Nu=f(Re,Theta,Beta).I use lsqnonlin(fun,x0) function for this ...

5 months ago | 1 answer | 0

Question

Surface plot by using three vectors of the same length

How could I generate a surface plot by using three vectors of the same length and there is no relation between them?I know that ...

5 months ago | 1 answer | 0

Question

Non-linear fitting for more than three variables

I have a heat transfer experimental data set whrere Nu=f(Re,Theta,Beta).The data file is attached to this question.I want to mak...

5 months ago | 2 answers | 0

Question

Error message in Non-linear fit for more than three variables

% Create an anonymous function that describes the expected relationship % between X and Y fun = @(b,X) b(1)*X(:,1) + b(2)*X(:,...

5 months ago | 0 answers | 0

Question

Curve fitting for more than three variables

I have performed a heat transfer experiment and I want to make a curve fitting for my data set.The study variable is Nusselt num...

5 months ago | 0 answers | 0