# Naor Movshovitz

### University of California, Santa Cruz

Professional Interests: physical modeling; rigid-body dynamics; granular mechanics; planetary collisions

**Statistics**

RANK**2.815**

of 271.586

REPUTATION**16**

CONTRIBUTIONS

**20** Questions

**3** Answers

ANSWER ACCEPTANCE **
70.0%
**

VOTES RECEIVED**14**

RANK**1.776** of 18.318

REPUTATION**972**

AVERAGE RATING**4.30**

CONTRIBUTIONS**7** Files

DOWNLOADS **9**

ALL TIME DOWNLOADS**9523**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

Question

Documentation error for polyval ouput?

The documentation for polyval describes the optional output argument delta like this: "Standard error for prediction, returned ...

ongeveer 3 jaar ago | 1 answer | 0

### 1

answerQuestion

Huge overhead in fsolve due to fsolve>createExitMsg()

Is it just me or is the fancy exit messaging in |fsolve| creating huge overhead?I imagine this might impact other |optim| toolbo...

ongeveer 5 jaar ago | 2 answers | 4

### 2

answersQuestion

How to derive a subclass that is a "frozen" state of another class?

Suppose |dynClass| has lots of dependent properties calculated on the fly and/or read from private properties, based on complica...

meer dan 5 jaar ago | 0 answers | 0

### 0

answersQuestion

How to test if a function handle belongs to a particular package?

I have a method that accepts a function handle and then needs to branch depending on whether that function is part of |+package1...

meer dan 5 jaar ago | 2 answers | 0

### 2

answersQuestion

Is fullfile(0,0) undocumented behavior or bug?

What is the purpose, if any, of non-char inputs to |fullfile|? >> fullfile(0) > In fullfile>refinePath (line 93) In ...

meer dan 5 jaar ago | 1 answer | 0

### 1

answerCan I share a copy of a CONSTANT large array between workers of a parpool?

Answering my own question after some more googling and doc search. I am not 100% sure but I think the right answer is: no, this ...

meer dan 5 jaar ago | 1

| accepted

Question

Can I share a copy of a CONSTANT large array between workers of a parpool?

I have an N-by-N array, |data|, of _constant_ data that needs to be accessed by each worker of a parallel pool in a |parfor| loo...

meer dan 5 jaar ago | 2 answers | 1

### 2

answersQuestion

Can an object with a `Transient` property be used in a parfor loop?

In a class I am using a private property |A|, an |NxN| matrix, to store data that is expensive to compute and may be used many t...

meer dan 5 jaar ago | 1 answer | 0

### 1

answerQuestion

How bad is the performance of run time introspection?

From the doc <https://www.mathworks.com/help/matlab/matlab_prog/techniques-for-improving-performance.html (Techniques for improv...

bijna 6 jaar ago | 1 answer | 1

### 1

answerQuestion

is interp1(x, v, x(k), mtd) == v(k) always true?

is interp1(x, v, x(k), mtd) == v(k) always true or does it depend on method and/or type of x and v? Followup: is the an...

ongeveer 6 jaar ago | 1 answer | 0

### 1

answerDoes the access method of a dependent property get called twice when the property is indexed into?

Confirmed Walter's comment. Indeed the culprit is the keyword end. Here is minimal working example. classdef Untitled ...

ongeveer 6 jaar ago | 0

| accepted

Question

Does the access method of a dependent property get called twice when the property is indexed into?

I have a class with a dependent property z. The method get.z(obj) returns a vector. This: y = myObj.z(end); appears to c...

ongeveer 6 jaar ago | 1 answer | 0

### 1

answerQuestion

How to make published html look as good as the blogs on MATLAB Central?

Check out any of the posts on Cleve's Corner, for example <http://blogs.mathworks.com/cleve/2016/06/09/math-and-music/ this one>...

meer dan 6 jaar ago | 1 answer | 1

### 1

answerQuestion

Fastest alternative to |y = ones(size(x))| ?

The profiler red flagged this line, in a small function that is called by an inner-loop computation: ... if n == 0 ...

meer dan 6 jaar ago | 2 answers | 0

### 2

answersQuestion

What test is validateattributes() using to check for attributes 'positive' or 'nonnegative' ? (possible bug)

Suppose a class MyClass with overloaded operators for comparison with numeric values. In other words, I can call obj = MyCl...

ongeveer 7 jaar ago | 1 answer | 0

### 1

answerQuestion

How to make user-defined type pass as numeric?

Suppose I have a defined type that behaves like a number. I would like it to pass the test: validateattributes(x, {'numeric...

ongeveer 7 jaar ago | 1 answer | 1

### 1

answerQuestion

Can webread(url) be used to read a file?

url = 'file:///c:/filename'; raw = webread(url); fails complaining that the file:// protocol is not supported. Can it be...

meer dan 7 jaar ago | 0 answers | 1

### 0

answersQuestion

Is it possible to disable datatips in the debugger?

It's a useful feature but unfortunately it causes my screen to flicker and change resolution. Until this bug is resolved (if eve...

bijna 8 jaar ago | 0 answers | 0

### 0

answersQuestion

How does "warm-up" overhead scale with data size or iteration count?

Everyone knows that when an M-file is run the first time in a Matlab session it runs much slower than the following next runs. T...

meer dan 10 jaar ago | 1 answer | 3

### 1

answerQuestion

Can MATLAB tell me which gpu device is the one connected to the display?

For example, with a GTX590, I have two gpu devices to choose from. Now my theory is that for CUDA kernel performance it might be...

meer dan 10 jaar ago | 4 answers | 1

### 4

answersQuestion

How can I extract just the "real" axes from figures? Filtering out handles to annotation and legend.

Here is a scenario. You have a large number of figures open. Say each figure has a "main" axes showing some line plots, and also...

bijna 11 jaar ago | 1 answer | 0

### 1

answerlaunching MATLAB from the context menu (Windows 7)

Found it. Apparently previous versions of MATLAB installers added the full path of the MATLAB runtime to HKEY_LOCAL_MACHINE...

ongeveer 11 jaar ago | 0

| accepted

Question

launching MATLAB from the context menu (Windows 7)

For several years I have been using the following hack, in windows, for convenience. Add the key: |HKEY_CLASSES_ROOT\*\shell\...

ongeveer 11 jaar ago | 1 answer | 0