Mohammad Shojaei Arani
Followers: 0 Following: 0
Feeds
質問
Extracting the base name and size of symbolic variables
Hello, I have a simple question. Consider the following: syms a [3 3] real syms x r [3 1] real mu(x) = (r.*x).*(1-a*x) No...
2ヶ月 前 | 1 件の回答 | 0
1
回答質問
Ordering multivariate polynomials by increasing higher order terms
Hello, (I did my best to fix this but it failed. Otherwise, I would not bother you) Consider a multivariate polynomial. It c...
3ヶ月 前 | 1 件の回答 | 0
1
回答質問
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...
10ヶ月 前 | 1 件の回答 | 0
1
回答質問
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...
10ヶ月 前 | 1 件の回答 | 0
1
回答質問
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...
12ヶ月 前 | 1 件の回答 | 0
1
回答質問
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...
12ヶ月 前 | 2 件の回答 | 0
2
回答質問
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...
12ヶ月 前 | 1 件の回答 | 0
1
回答質問
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...
12ヶ月 前 | 1 件の回答 | 0
1
回答質問
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...
約1年 前 | 1 件の回答 | 0
1
回答回答済み
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...
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...
約1年 前 | 0
質問
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 ...
約1年 前 | 1 件の回答 | 0
1
回答質問
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...
約1年 前 | 0 件の回答 | 0
0
回答質問
Evaluating multivariate stable distributions
Hello, I need to calculate the probability density function for the multivariate stable distribution. It seems to me that MATLA...
約1年 前 | 0 件の回答 | 0
0
回答質問
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) ...
約1年 前 | 1 件の回答 | 0
1
回答質問
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 ...
約1年 前 | 4 件の回答 | 0
4
回答質問
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(...
1年以上 前 | 4 件の回答 | 0
4
回答質問
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年以上 前 | 1 件の回答 | 0
1
回答質問
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年以上 前 | 1 件の回答 | 0
1
回答質問
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年以上 前 | 1 件の回答 | 0
1
回答質問
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年以上 前 | 2 件の回答 | 0
2
回答質問
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年以上 前 | 1 件の回答 | 1
1
回答質問
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...
2年弱 前 | 1 件の回答 | 0
1
回答質問
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...
2年弱 前 | 2 件の回答 | 0
2
回答質問
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...
2年弱 前 | 1 件の回答 | 0
1
回答質問
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...
2年弱 前 | 1 件の回答 | 0
1
回答質問
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...
2年弱 前 | 1 件の回答 | 0
1
回答質問
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...
2年弱 前 | 1 件の回答 | 0
1
回答質問
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 ...
2年弱 前 | 2 件の回答 | 0
2
回答質問
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 ...
2年弱 前 | 2 件の回答 | 0
2
回答質問
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...
2年弱 前 | 2 件の回答 | 0