Community Profile

photo

mohamed Faraj


Last seen: 15 dagen ago
20 total contributions since 2018

Professional Interests: telecommunications

Contact

mohamed Faraj's Badges

  • Thankful Level 2

View details...

Contributions in
View by

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

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

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

6 maanden ago | 0 answers | 0

0

answers

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

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

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

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

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

9 maanden 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

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

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

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

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

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

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

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

10 maanden ago | 1 answer | 0

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

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

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

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

meer dan een jaar ago | 1 answer | 0

1

answer