# Mohammad Shojaei Arani

**Statistics**

RANK**19,227**

of 289,564

REPUTATION**2**

CONTRIBUTIONS

**84** Questions

**2** Answers

ANSWER ACCEPTANCE **
60.71%
**

VOTES RECEIVED**2**

RANK

of 19,563

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

RANK

of 143,899

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 complex form containing constant, linear, quadratic, etc., forms

Helow, I am struggling to find a symbolic representation which contains, constant, linear, quadratic, cubic, etc., forms. I b...

2 months ago | 1 answer | 0

### 1

answerQuestion

Assigning values to the arguments of a function handle

Hello, I have the following functon handle F = @(x1,x2,x3,a1_1,a1_2,a1_3,a2_1,a2_2,a2_3,a3_1,a3_2,a3_3,r1,r2,r3)[-r1.*x...

3 months ago | 1 answer | 0

### 1

answerQuestion

Derivative of spline with respect to y-values

Hello, Consider a (x-data,y-data) spline interpolation problem. I am concerned with the problem of calculating the derivative o...

4 months ago | 1 answer | 0

### 1

answerQuestion

An issue with matlabFunction

Hello, I have a question and I think the best is to explain via an example. So, consider the following mu=@(x,par)par(1).*x;si...

4 months ago | 2 answers | 0

### 2

answersQuestion

An annoying extrapolation problem

Hello, I have a simple problem but it seems difficult to solve. MATLAB command interp1 has a nice extrapolation option but, unf...

4 months ago | 1 answer | 0

### 1

answerQuestion

A problem caused by 'xlim' and 'axis equal'

Hello, I could not figure this problem. If you run the following then you get an error message clc; x=linspace(0,2*pi,100...

5 months ago | 1 answer | 0

### 1

answerQuestion

A problem with xtick

Hello, I do not know but I could not figure out how to fix a problem with xticks (I hate it). I also attach the data I am using...

5 months ago | 1 answer | 0

### 1

answerfmincon does not respect MaxIter

Thanks Walter, I wish I can ask a short question. Aparently, it is really difficult to stop fmincon (I really tried har). I use...

5 months ago | 0

Question

fmincon does not respect MaxIter

Hello, I do not understand why fmincon does not respect the maximum number of iteration I specify and does whatever it l;ikes ...

5 months ago | 1 answer | 0

### 1

answerQuestion

A simple issue with legend

Hello, I have a really simple question. To my surprise, I am could not help it (I have no idea !!!). When I type x1=linspace...

5 months ago | 0 answers | 0

### 0

answersQuestion

Evaluating multivariate stable distributions

Hello, I need to calculate the probability density function for the multivariate stable distribution. It seems to me that MATLA...

5 months ago | 0 answers | 0

### 0

answersQuestion

A function handle constructed by a symbolic function and another function handle

Hello, I have a simple problem but unfortunately could not figure out how to fix it. Consider the following syms sigma(x) ...

6 months ago | 1 answer | 0

### 1

answerQuestion

Finding the first 1 in a binary set using optimization

Hello everybody, Assume that a binary set V is given and the task is to find the first 1 in V. Note that 1) V is not sorted ...

8 months ago | 4 answers | 0

### 4

answersQuestion

Efficient searching to find the first element of an array meeting a condition

Hello, If a vector is given and the task is to find the first element fulfilling a condition then we use the command 'finb(...

8 months ago | 4 answers | 0

### 4

answersQuestion

What is the correct meaning of running 'multistart' for a single start point several times?

Hello, I have a simple question. Imagine that: 1) We wish to perform an optimization problem in which the objective func...

1 year ago | 1 answer | 0

### 1

answerQuestion

Multistart apparently does not respect the supplied initial points

Hello, I have a simple, but annoying, problem about multistart in MATLAB. Consider the following example from MATLAB descript...

1 year ago | 1 answer | 0

### 1

answerQuestion

Correct implementation of multi start option with pre-specified starters

Hello, I need to solve an optimization problem with multi start option in which I supply the initial points completely. However...

1 year ago | 1 answer | 0

### 1

answerQuestion

Generating random points between two n-dimensional boxes

Hello, Consider two n-dimensional boxes. I would like to generate random points in the region between the inner and the outer b...

1 year ago | 2 answers | 0

### 2

answersQuestion

How to only keep the legends I want

Hello, open Figure1.fig I have a simple question. The best and fastest way is to explain the problem using a figure (see the a...

1 year ago | 1 answer | 1

### 1

answerQuestion

How to extract the information in plot functions @saplotbestx,@saplotbestf of Simulated annealing inside output function?

Hello, I need to use simulated anealing as my optimization solver. Unfortunately & very sadly, I do not see 2 important piece...

1 year ago | 1 answer | 0

### 1

answerQuestion

Output function for Simulated Anealing

Hello, I am using Simulated anealing as my optimization solver. Unfortunately, I am unable to get what I want. When I look at t...

1 year ago | 2 answers | 0

### 2

answersQuestion

An unexpected discrepancy between xcorr, xcov and autocorr

Hello, I need to calculate the matrix of cross-correlations for a matrix data. However, I started to doubt about the way ma...

1 year ago | 1 answer | 0

### 1

answerQuestion

An issue with the command 'isAlways'

Hello, I have a simple question concerning the command 'isAlways' (appologies, if I am bothering you for a naive question). I d...

1 year ago | 1 answer | 0

### 1

answerQuestion

An implementation issue with MatlabFunction

Hello, I have a question which I explain by an example. function ll = LL(X1,X2,X01,X02,par1,par2,par3,par4,par5,par6) THE BO...

1 year ago | 1 answer | 0

### 1

answerQuestion

Pass a symbolic function as input to a function without passing its inputs

Hello, I have a question and I believe the best is to go to an example from the begining. Consider the following syms x y sym...

1 year ago | 1 answer | 0

### 1

answerQuestion

A symbolic implementation issue

Hello, I need to define a system of symbolic functions for a set of state variables. I explain by the following example: syms ...

1 year ago | 2 answers | 0

### 2

answersQuestion

Find elements having a specific row and column numbers in a matrix

Hello, I have a simple question but could not find a single command which can do the job. I explain via an example. Consider ...

1 year ago | 2 answers | 0

### 2

answersQuestion

Can we distinguish between variables and parameters in a symbolic function?

Hello, I have a simple (perhaps naive, if so my appology) question. Consider the following syms x f(x) x f(x) = a*x; Is th...

1 year ago | 2 answers | 0

### 2

answersQuestion

Two functions having the same name but one being capital?

Hello, When I google it I do not find anything saying that matlab is NOT case sensitive with regard to function names (so, then...

1 year ago | 3 answers | 0

### 3

answersQuestion

Convert a (rather complex) text file to mfile

Hello, I have a text file which is just a scan of an mfile. I need to convert this into an mfile (spent ours on it but unfo...

1 year ago | 1 answer | 0