photo

Mohamed Abdalmoaty


Last seen: quasi 3 anni fa Attivo dal 2011

Followers: 0   Following: 0

Messaggio

Statistica

  • Thankful Level 3

Visualizza badge

Feeds

Visto da

Domanda


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

circa 5 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 6 anni fa | 2 risposte | 0

2

risposte

Domanda


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

circa 7 anni fa | 2 risposte | 0

2

risposte

Domanda


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

oltre 7 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 7 anni fa | 3 risposte | 0

3

risposte

Domanda


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

oltre 7 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 8 anni fa | 3 risposte | 0

3

risposte

Domanda


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

oltre 8 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 9 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 9 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 9 anni fa | 2 risposte | 0

2

risposte

Domanda


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

oltre 9 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 12 anni fa | 2 risposte | 0

2

risposte

Domanda


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

circa 13 anni fa | 1 risposta | 0

1

risposta