Community Profile

photo

mohamed Faraj


Last seen: oltre 3 anni fa Attivo dal 2018

Professional Interests: telecommunications

Statistiche

  • Thankful Level 3

Visualizza badge

Content Feed

Visto da

Domanda


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

oltre 3 anni fa | 0 risposte | 0

0

risposte

Domanda


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

oltre 3 anni fa | 0 risposte | 0

0

risposte

Domanda


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

oltre 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 4 anni fa | 0 risposte | 0

0

risposte

Domanda


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

oltre 4 anni fa | 0 risposte | 0

0

risposte

Domanda


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

oltre 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 4 anni fa | 0 risposte | 0

0

risposte

Domanda


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

oltre 4 anni fa | 2 risposte | 0

2

risposte

Domanda


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

oltre 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 4 anni fa | 2 risposte | 0

2

risposte

Domanda


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

oltre 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 4 anni fa | 2 risposte | 0

2

risposte

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

oltre 4 anni fa | 0

Domanda


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

oltre 4 anni fa | 0 risposte | 0

0

risposte

Domanda


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

oltre 4 anni fa | 2 risposte | 0

2

risposte

Domanda


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

oltre 4 anni fa | 1 risposta | 1

1

risposta

Domanda


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

oltre 4 anni fa | 2 risposte | 0

2

risposte

Domanda


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

oltre 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 4 anni fa | 4 risposte | 0

4

risposte

Domanda


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

oltre 5 anni fa | 1 risposta | 0

1

risposta