Community Profile

photo

Mohammad Shojaei Arani


Last seen: 3 days ago Active since 2021

Statistics

  • Thankful Level 4

View badges

Content Feed

View by

Question


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

2 months ago | 1 answer | 0

1

answer

Question


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

2 months ago | 1 answer | 0

1

answer

Question


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

2 months ago | 1 answer | 0

1

answer

Question


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

2 months ago | 2 answers | 0

2

answers

Question


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

3 months ago | 1 answer | 1

1

answer

Question


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

5 months ago | 1 answer | 0

1

answer

Question


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

5 months ago | 2 answers | 0

2

answers

Question


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

5 months ago | 1 answer | 0

1

answer

Question


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

5 months ago | 1 answer | 0

1

answer

Question


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

5 months ago | 1 answer | 0

1

answer

Question


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

5 months ago | 1 answer | 0

1

answer

Question


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

5 months ago | 2 answers | 0

2

answers

Question


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

6 months ago | 2 answers | 0

2

answers

Question


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

6 months ago | 2 answers | 0

2

answers

Question


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

6 months ago | 3 answers | 0

3

answers

Question


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

6 months ago | 1 answer | 0

1

answer

Question


How to change the function name to match its file name in a code?
Hello, I have a simple question, I think! If we have a function named hello.m but its file name is called Hi then how to ch...

6 months ago | 0 answers | 0

0

answers

Question


How to rename a lot of mfiles in a folder
Hello, I have a folder which contains many mfiles. I would like to change the name of these mfiles in a for-loop (they are too...

6 months ago | 3 answers | 0

3

answers

Question


Numerical calculation of Hessian for a very complex problem
Hello, I need to estimate the numerical Hessian for my very complex high-dimensional function F. I first explain a bit on the c...

6 months ago | 2 answers | 0

2

answers

Question


Can we manipulate a file without opening it
Hello, I have a question which I explain in bellow. Consider the following loop: for i=1:10^6 A = Read a csv file; A = per...

7 months ago | 2 answers | 0

2

answers

Question


How to analyze a csv (txt or xls) file without opening it
Hello, I have an optimization problem in which I need to simultaneously run it several times using par-for. The reason is that ...

7 months ago | 0 answers | 0

0

answers

Question


How to vectorize a complex function?
Hello, I have a rather complex function but I need to vectorize it in order to be able to use a matlab optimization package. My...

7 months ago | 1 answer | 0

1

answer

Question


apparently the command rmoutliers does not do the job correctly
Hello, It seems to me that the command "rmoutliers" has some problems. To make things clear I explain using an example as bello...

7 months ago | 1 answer | 0

1

answer

Question


A problem with function handle
Hello, I have a simple problem but I do not understand why function handle behaves like this!!! I explain by a simple example i...

7 months ago | 1 answer | 0

1

answer

Question


Symbolic dependency apparently sometimes gives wrong answers
Hello, I have a simple question but could not figour out how to tackle it by myself. Consider the following: syms p1 y f=[p...

7 months ago | 3 answers | 0

3

answers

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

9 months ago | 0 answers | 0

0

answers

Question


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

9 months ago | 3 answers | 0

3

answers

Question


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

9 months ago | 1 answer | 0

1

answer

Question


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

9 months ago | 1 answer | 0

1

answer

Question


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

9 months ago | 1 answer | 0

1

answer

Load more