Community Profile

photo

Naor Movshovitz


University of California, Santa Cruz

101 total contributions since 2006

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

Contact

Naor Movshovitz's Badges

Contributions in
View by

Question


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

5 days ago | 1 Answers | 0

1

answer

Responded


Re: Missing Green arrow during debug
Confirmed also in R2011b Win7 64. Removing relative paths restores sanity.

13 days ago | 4320 views

Submitted


binareader
Peek into an unknown binary file

1 month ago | 0 downloads |

Thumbnail

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

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

1 month ago | 1 Answers | 0

1

answer

Submitted


physunits module from FORTRAN
A toolbox that handles dimensioned variables

2 months ago | 0 downloads |

Thumbnail

Solved


Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

3 months ago

Question


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

4 months ago | 1 Answers | 0

1

answer

Question


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

4 months ago | 2 Answers | 0

2

answers

Question


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

1 year ago | 1 Answers | 0

1

answer

Question


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

1 year ago | 1 Answers | 1

1

answer

Question


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

1 year ago | 0 Answers | 0

0

answers

Question


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

2 years ago | 0 Answers | 0

0

answers

Submitted


headcount(file_name, header_mark)
Return number of header lines in text file.

2 years ago | 2 downloads |

Thumbnail

Submitted


sexy
Display a symbolic expression in a human readable form. Extension of the built-in pretty function.

4 years ago | 0 downloads |

Thumbnail

Question


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

4 years ago | 1 Answers | 3

1

answer

Question


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

4 years ago | 4 Answers | 1

4

answers

Solved


Make a checkerboard matrix
Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Example...

5 years ago

Solved


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

5 years ago

Solved


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

5 years ago

Solved


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

5 years ago

Question


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

5 years ago | 1 Answers | 0

1

answer

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

5 years ago | 0

| accepted

Posted


launching MATLAB from the context menu in Windows 7
I have been using the following convenient hack for as far as I can remember: Add the key: HKEY_CLASSES_ROOT\*\shell\MATLABHere...

5 years ago | 1353 views

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

5 years ago | 1 Answers | 0

1

answer

Posted


excessive Java memory usage by xmlread
Hi, I am running into a memory problem when trying to read in large (*not huge*) xml files. Estimating Java memory usage is tric...

6 years ago | 3308 views

Responded


Re: syntax for creating array of cell arrays
You were right Bruno. Pre-allocating didn't help. I found that limited Java memory prevented this script from scaling well. I am...

6 years ago | 4614 views

Responded


Re: syntax for creating array of cell arrays
Bruno Luong" <b.luong@fogale.findmycountry> wrote in message Here is what my first attempt looked like, mostly ignoring effici...

6 years ago | 4614 views

Responded


Re: syntax for creating array of cell arrays
will deal(rand(1,12)) instead of deal(ones(1,12)) result in different arrays created? I can't tell with my test data b/c the ext...

6 years ago | 4614 views

Responded


Re: syntax for creating array of cell arrays
ah the deal function, I forgot about that one. Thanks for the reminder :) -naor

6 years ago | 4614 views

Load more