Community Profile

photo

Federico


TU Berlin

Active since 2011

Followers: 0   Following: 0

Message

Statistics

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

View badges

Feeds

View by

Question


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

12 years ago | 1 answer | 0

1

answer

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

12 years ago | 0

Question


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

12 years ago | 1 answer | 2

1

answer

Question


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

12 years ago | 2 answers | 0

2

answers

Question


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

12 years ago | 2 answers | 0

2

answers

Question


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

12 years ago | 1 answer | 0

1

answer

Question


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

12 years ago | 0 answers | 0

0

answers