photo

Federico


TU Berlin

Aktiv seit 2011

Followers: 0   Following: 0

Kontakt

Statistiken

All
  • First Review
  • Thankful Level 1
  • Quiz Master
  • Creator
  • Solver

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


Customizing tab completion
I have a function that accepts paired name/value arguments, e.g. solve(A,b,'accuracy',1e-13,'method','LU','threshold',1e-...

etwa 12 Jahre vor | 1 Antwort | 0

1

Antwort

Beantwortet
return value optimization when overwriting
It seems that you can indeed, see http://blogs.mathworks.com/loren/2007/03/22/in-place-operations-on-data/? I cannot understa...

etwa 12 Jahre vor | 0

Frage


overloading x=[a b; c d]
Suppose a,b,c,d are instances of a custom Matlab class. I can redefine [a b] and [a;b] by overloading horzcat() and vertcat(); h...

etwa 12 Jahre vor | 1 Antwort | 2

1

Antwort

Frage


return value optimization when overwriting
Consider the following scenario. function A=frobnicate(A) A(1)=1; end X=zeros(2000,2000); X=frobnicate(X); ...

etwa 12 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


Detecting "a and b are the same variable" in O(1) via pointers
I know Matlab uses copy-on-write; that is, if I assign |a=b| and then never modify |a| and |b|, they point to the same chunk of ...

etwa 12 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


GLOBAL could be very inefficient
I am using a GLOBAL statement inside an if command, so that I import the global variable into the local namespace only if it is ...

mehr als 12 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


GLOBAL could be very inefficient
I am using the GLOBAL instruction inside an if statement, to create a global variable only if it is needed. However, the code an...

mehr als 12 Jahre vor | 0 Antworten | 0

0

Antworten