photo

mohamed Faraj


Last seen: nästan 4 år ago Active since 2018

Followers: 0   Following: 0

Message

Professional Interests: telecommunications

Statistics

  • Thankful Level 3

View badges

Feeds

View by

Question


how to speed up a large convex problem (10000 variables) by supplying gradient to fmincon
I have a large convex problem that has linear objective function, linear constraints and nonlinear constraints. I put the linear...

ungefär 4 år ago | 0 answers | 0

0

answers

Question


unexpected behavior from fmincon
Hello All, I have a large convex problem with 10066 variables. I runned the program for 500 iterations and then it stopped (I p...

ungefär 4 år ago | 0 answers | 0

0

answers

Question


How to construct all possible combinations of points in N-dimensional space
I have x-y coordinates of 3 points, e.g, (x1,y1,0),(x2,y2,0), and (x3,y3,0). I want to construct other points on top of these 3 ...

mer än 4 år ago | 1 answer | 0

1

answer

Question


How to find the Jacobin of variables in the form x(i)
I have a set of nonlinear constraints in which the variables are defined in the form x(i). For example, I have c=1/(x(1)-x(2))+1...

mer än 4 år ago | 1 answer | 0

1

answer

Question


how to speed up a nonlinear convex problem if solved using fmincon
I have a nonlinear convex problem with a large number of variables (100*n_samples+66). For example, if n_samples=50, I have 5066...

mer än 4 år ago | 0 answers | 0

0

answers

Question


fmincon returns a message that no feasible solution found
I have a convex problem, linear objective, linear and nonlinear constraints. When I run a feasibility probleb (objective functio...

nästan 5 år ago | 1 answer | 0

1

answer

Question


Can I use fmincon to solve Mixed Integer Convex Problem?
I have a mixed integer convex problem (some variables are binary). If yes, How to define the binary variables?. I have matlab 20...

ungefär 5 år ago | 1 answer | 0

1

answer

Question


how to code an objective function with many optimisation variables
I have a convex optimization function with 468 optimization variables. However, only the first 24 variables appear in the object...

ungefär 5 år ago | 0 answers | 0

0

answers

Question


The best way to code this optimization problem
I have a large optimization problem (a small part of this problem is given below) max s.t Note that I have equality constr...

ungefär 5 år ago | 2 answers | 0

2

answers

Question


The best way to write a large number of constraints for an optimization problem
Hi All, I have an optimization problem which have a larger number of variables, probably 10000 optimization variables and a lar...

ungefär 5 år ago | 1 answer | 0

1

answer

Question


how to plot empirical cdf in matlab release 2013a
I have matlab release 2013a but the ecdf command is not available for this release. Is there an alternative solution to plot the...

ungefär 5 år ago | 1 answer | 0

1

answer

Question


reshape 3d to 2d array
I have a 1 by 20 by 3 array and want to reshape it to 3 by 20 matrix

ungefär 5 år ago | 2 answers | 0

2

answers

Question


how to generate a matrix with all possible combinations in an efficient way
I have n=1:4 and m=3, and I want to generate a matrix S whose rows are all the possible combinations.. i.e., S has 4^3 rows and ...

mer än 5 år ago | 1 answer | 0

1

answer

Question


How to generate realisations from two sets
I have two sets,e.g., S1={1,2,3,4} and S2={1,2,3,4,5}. I want to pick up 2 numbers randomly from S1 and 3 numbers from S2. Note ...

mer än 5 år ago | 1 answer | 0

1

answer

Question


how to plot a 3D surface from N by 3 matrix
I have a matrix with dimensions N by 3, for example 100 rows and 3 columns. Each row correspondds to the 3D location of a point...

mer än 5 år ago | 2 answers | 0

2

answers

Answered
how to construct a cell array from another cell array
Hi Adam. Attached is the cell array allPaths_service. I also created a cell array DD which has two possible combinations from al...

mer än 5 år ago | 0

Question


create all possible combinations of vectors stored in a cell array
I have an array like this, i.e., it has two cells (we could have more cells) and the size of the first cell is 3 by N (length of...

mer än 5 år ago | 0 answers | 0

0

answers

Question


how to construct a cell array from another cell array
I have a cell array with a variable number of cells and a variable number of elements within each cell. For instance, it could b...

mer än 5 år ago | 2 answers | 0

2

answers

Question


how to sum elements of a cell array
I have a cell array V={[1;2;3;4],[5;6;7;8]}, I want to do a summation as follows [1+5;2+6;3+7;4+8]. I need the result to be in ...

mer än 5 år ago | 1 answer | 1

1

answer

Question


pick up elements from a cell array and the result must be a cell array
I want to pick up all elements of a cell array except the last element. When I do V{1:end-1}, the result seems not to be a cell...

mer än 5 år ago | 2 answers | 0

2

answers

Question


how to multiply each element of a cell array by a different scalar
I have a cell array V={[1 2 3;4 5 6],[0 0 0;1 2 9],[0 9 3;2 4 6]} and a vector a=[2 3 4]. I want to multiply the first cell elem...

mer än 5 år ago | 1 answer | 0

1

answer

Question


how to pick up all combination of numbers from multiple vectors
I have a number of vectors, probably with different lengths, e.g., a=[1 2 3], b=[4 5 6 7] and c=[8 9 10 11 12]. From a, b and c ...

mer än 5 år ago | 4 answers | 0

4

answers

Question


How to import a text file into matlab
I have a text file "attached" and I would like to import it to matlab. The file ia arranged into 3 columns and each of three col...

ungefär 6 år ago | 1 answer | 0

1

answer