photo

Mohamed Abdalmoaty


Last seen: fast 3 Jahre vor Aktiv seit 2011

Followers: 0   Following: 0

Nachricht

Statistik

  • Thankful Level 3

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


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

etwa 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 6 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

etwa 7 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

mehr als 7 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 7 Jahre vor | 3 Antworten | 0

3

Antworten

Frage


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

mehr als 7 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 8 Jahre vor | 3 Antworten | 0

3

Antworten

Frage


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

mehr als 8 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 9 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

mehr als 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 12 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

etwa 13 Jahre vor | 1 Antwort | 0

1

Antwort