Community Profile

photo

Mohamed Abdalmoaty


Last seen: más de 2 años hace Con actividad desde 2011

Followers: 0   Following: 0

Contacto

Estadísticas

  • Thankful Level 3

Ver insignias

Feeds

Ver por

Pregunta


Compute all third degree monomials out of a given vector
Suppose you are given a vector How can one effieciently construct a vector containing all third degree monomials of the vector...

casi 5 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Is there a way to vectorize these loops for speed?
I need to construct symmetric matrix M as shown in the following code: theta = 0.5; lambda = 0.1; % usually a number be...

alrededor de 6 años hace | 2 respuestas | 0

2

respuestas

Pregunta


Puzzling plot color behaviour
I have two curves stored in the workspace. I use exactly the same commands to plot them: newred = [0.8500 0...

casi 7 años hace | 2 respuestas | 0

2

respuestas

Pregunta


Final report for fminunc
I'm using the optimization function fminunc. I'd like to generate a final report that includes: number of function calls, tota...

alrededor de 7 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Deleting the last displayed line (or part of it) in the command window.
I'm trying to use the same line in the command window of Matlab to print the progress of my code. I have read several solutio...

alrededor de 7 años hace | 3 respuestas | 0

3

respuestas

Pregunta


How to control the random number generation when using a parfor loop
When I want to repeat my code with the same results, I fix the seed in the beginning of the code. Say: rng(100) I can then gen...

más de 7 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Sum each element in a matrix with the previous elements on the same diagonal
I'm looking for an "efficient way", that will work on larger matrices like 2000 by 2000 in reasonable time, to do this operatio...

alrededor de 8 años hace | 3 respuestas | 0

3

respuestas

Pregunta


How to disable the arrows on the nyquist plot?
When using the commands nyquist() or nyquistplot() without output arguments we get a plot. How to disable the arrows on the plot...

más de 8 años hace | 1 respuesta | 0

1

respuesta

Pregunta


how to check that all called functions exist in the path?
I coded my simulation in an m file in which I call many other functions that I also wrote. Each function also calls several oth...

casi 9 años hace | 1 respuesta | 0

1

respuesta

Pregunta


From linear to logarithmic distribution
Given a linear frequency scale denoted by the vector f = 1:fmax; fmax is known, say 1000. How can I construct, out of this ...

casi 9 años hace | 1 respuesta | 0

1

respuesta

Pregunta


What is the best vectorized way to construct the following matrix
I have a system of linear equations: y = A x y is a column vector of size n. A is a lower triangular matrix of size n by ...

alrededor de 9 años hace | 2 respuestas | 0

2

respuestas

Pregunta


What is the best vectorized way to construct the following matrix
I have a vector variable of size nx1 I want to construct a square nxn matrix from this vector. The first column of the matrix ...

alrededor de 9 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Passing both the the variable name and value to a function
Hello, I wonder if there is a way to pass not only the value of a variable, but also it's name to a function. For example,...

alrededor de 12 años hace | 2 respuestas | 0

2

respuestas

Pregunta


Compiler properties for building MEX-files
I'm working with MATLAB R2010b and need to compile a C++ source file to a .mex64 MEX-file. I'm using the Microsoft VS2008 SP1 a...

más de 12 años hace | 1 respuesta | 0

1

respuesta