# Mohammad Shojaei Arani

**Statistics**

RANK**104 067**

of 265 062

REPUTATION**0**

CONTRIBUTIONS

**46** Questions

**1** Answer

ANSWER ACCEPTANCE **
54.35%
**

VOTES RECEIVED**0**

RANK

of 18 108

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

RANK

of 116 135

CONTRIBUTIONS

**0** Problems

**0** Solutions

SCORE**0**

NUMBER OF BADGES**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

Question

A rather different stopping criteria for particle swarm

Hello, I am working on an optimization problem where the objective function is non-smooth and even worse, it is not defined...

8 dagar ago | 0 answers | 0

### 0

answersQuestion

Inconvenience working with matlabFunction

Hello, One of you did kindly respond my question (my question was very similar to this one) but I again ran into problem and ne...

19 dagar ago | 3 answers | 0

### 3

answersQuestion

Inconveniences working with matlabFunction

Hello, I think that I am repeating the same sort of question I bothered you yesterday but I did not expect to run into peoble...

19 dagar ago | 1 answer | 0

### 1

answerQuestion

A MATLAB function with mixed scalar and vector as inputs fail

Hello, I have a question which I explain by a simple example first. Consider the matlab function H=@(x,x0,par1,par2)[x+par1 x...

20 dagar ago | 1 answer | 0

### 1

answerQuestion

Opening or loading a rather complex dll file

Hello, I have downloaded a few matlab codes (which are about estimating the density and its higher order derivatives) whose ex...

24 dagar ago | 1 answer | 0

### 1

answerQuestion

Surrogate optimization throws error when I try to use the vectorized option

Hello, Attemting to use vectorized option in surrogate optimization fails and I am not able to figour out the reason behind. I...

ungefär en månad ago | 0 answers | 0

### 0

answersQuestion

Is it possible to implement optimization algorithms, especially particle swarm, with "dynamic bounds" in MATLAB?

Hello, I have a rather special optimization problem in which I found particle swarm a good solver. I know, roughly, where the o...

ungefär en månad ago | 2 answers | 0

### 2

answersQuestion

An error due to output function

Hellow, I am getting an error message which I did not expect (I explain why). I am solving an optimization problem. When I use ...

ungefär en månad ago | 1 answer | 0

### 1

answerQuestion

Parallel computing seems to do nothing in fmincon and patternsearch

Hello, I am using both fmincon and patternsearch algorithms. Note that, with regard to fmincon, I have no analytical gradient (...

ungefär en månad ago | 1 answer | 0

### 1

answerQuestion

Is it possible to specify the 'order' of a smoothing spline?

Hello, I need to use smoothing splines. The matlab command 'csaps' can only be used for the case of a cubic smoothing spline....

ungefär en månad ago | 1 answer | 0

### 1

answerQuestion

Different commands to do spline interpolation, are they the same?

Hello, I have a question about (cubic) spline interpolation in MATLAB. For cubic spline interpolation I see several commands wh...

ungefär 2 månader ago | 1 answer | 0

### 1

answerQuestion

More detailed output function in optimization

Hello, I think I have a simple question but found it difficult to fix it myself. In doing the optimization we can have 'our' ...

ungefär 2 månader ago | 0 answers | 0

### 0

answersQuestion

Choosing a function handle from a group of function handles

Hello, Assume that we have saved many function handles f_1_1, f_1_2,f_1_3, ..., f_2_1,f_2_2,f_2_3, .... in a folder. Now, assum...

2 månader ago | 1 answer | 0

### 1

answerQuestion

Matlab function with initial long execution time

Hello, When I run a function handle its execution time is initially very long but in the second, third, etc runs its execution ...

2 månader ago | 1 answer | 0

### 1

answerQuestion

Conversion from symbolic to matlabFunction and writing the result to a file

Hello friends, I have a simple problem but it seems difficult for me to fix. I want to create a matlabFunction from a symboli...

2 månader ago | 1 answer | 0

### 1

answerQuestion

Techniques of common subexpression elimination, disorganization in MATLAB, etc..

Hello friends, Yesterday I posed a question about performance gain in matlab by using techniques of common subexpression elimin...

2 månader ago | 0 answers | 0

### 0

answersQuestion

My mex file is slower than my original matlab equivalent

Hello friends, I need to calculate some quantities of linear algeibra type, so they are merely matrix and vector products. The ...

2 månader ago | 1 answer | 0

### 1

answerQuestion

If matlab coder fails can we still do it ourselves?

Hello friends, I have a simple question. As you know matlab coder cannot create mex functions always, for instance when the inp...

3 månader ago | 1 answer | 0

### 1

answerQuestion

Making a mex function for a rather complex code

Hello friends, I have a code which is very time consumming. Therefore, I thought to use mex function to do the heavy part of ca...

3 månader ago | 0 answers | 0

### 0

answersQuestion

Defining complex input types to make a complex mex function

Hello friends, Recently I became familliar with mex function. I am quite new to this and have lots of hopes to speed up my slow...

3 månader ago | 0 answers | 0

### 0

answersQuestion

Finding the index of elements of a vector in a mesh quite fast

Hello friends, I would like to find the index of vector of numbers A being closest in a mesh. I know how to do this but I hope ...

4 månader ago | 1 answer | 0

### 1

answerQuestion

Difference between spline(x,y,xq) and interp1(x,y,xq,'spline')

Hello friends, I have a simple question. I am wondering what is the difference between the commands spline(x,y,xq) and interp...

4 månader ago | 2 answers | 0

### 2

answersQuestion

Indefinite integral for a step function with variable number of steps

Hello friends, I have a function handle which is defined by interp1. Is there a way to find its indefinite integral? For inst...

4 månader ago | 1 answer | 0

### 1

answerQuestion

Step function with variable number of steps

Hello friends, I have a simple question but would like to find an efficient way to implement it for my very heavy codes. Assume...

4 månader ago | 1 answer | 0

### 1

answerQuadratic spline having shape preserving property

Hello John, I did not know that a shape preserving quardatic spline cannot be smooth at breaks. Yes, I agree with you that I ...

4 månader ago | 0

Question

Quadratic spline having shape preserving property

Hello friends, In my work I need to use quadratic splines and I can use the command spapi(3,x_data,y_data). Unfortunately, I ...

4 månader ago | 2 answers | 0

### 2

answersQuestion

Multivariate Horner scheme implementation in MATLAB

Hello friends! I have very long symbolic expressions (mainly polynomials or rational types) and I need to evaluate them man...

7 månader ago | 0 answers | 0

### 0

answersQuestion

PP form for the reverse function (not inverse function)

Hello friends! Consider a pp form for a set of (x,y) data points. Imagine now that we wish to find the pp form for the (x,1/y) ...

7 månader ago | 0 answers | 0

### 0

answersQuestion

Find constants in a symbolic vector

Hello friends! I have a simple question but found it difficult to come up with a perfect answer. I explain by a simple example....

8 månader ago | 1 answer | 0

### 1

answerQuestion

Suitable input for a function handle

Hellow friends, I need to do something which I explain through a simple example. Consider the following F=@(x,y,z)[x.*z.^2.*y;...

8 månader ago | 1 answer | 0