photo

Mohammad Shojaei Arani


Last seen: 3 months ago Active since 2021

Followers: 0   Following: 0

Statistics

  • Thankful Level 5

View badges

Feeds

View by

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

5 months ago | 1 answer | 0

1

answer

Question


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

5 months ago | 1 answer | 0

1

answer

Question


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

6 months ago | 1 answer | 0

1

answer

Question


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

6 months ago | 2 answers | 0

2

answers

Question


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

7 months ago | 1 answer | 0

1

answer

Question


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

7 months ago | 1 answer | 0

1

answer

Question


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

7 months ago | 1 answer | 0

1

answer

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

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

7 months ago | 1 answer | 0

1

answer

Question


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

7 months ago | 0 answers | 0

0

answers

Question


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

8 months ago | 0 answers | 0

0

answers

Question


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

9 months ago | 1 answer | 0

1

answer

Question


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

10 months ago | 4 answers | 0

4

answers

Question


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

10 months ago | 4 answers | 0

4

answers

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

1 year ago | 1 answer | 0

1

answer

Load more