Community Profile

photo

Naor Movshovitz


University of California, Santa Cruz

Last seen: 6 Tage vor Aktiv seit 2006

Followers: 0   Following: 0

Kontakt

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

Statistiken

All
  • Personal Best Downloads Level 1
  • First Review
  • 5-Star Galaxy Level 4
  • GitHub Submissions Level 1
  • First Submission
  • Thankful Level 3
  • Scavenger Finisher
  • Solver

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


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

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Gesendet


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

etwa 5 Jahre vor | 1 Download |

Gesendet


nmovshov/physunits
Dimensioned variables with enforced dimensional consistency

etwa 6 Jahre vor | 1 Download |

Gelöst


Energy of a photon
Given the frequency F of a photon in giga hertz. Find energy E of this photon in giga electron volts. Assume h, Planck's ...

mehr als 6 Jahre vor

Gelöst


How to subtract?
* Imagine you need to subtract one number from another using MATLAB. * You will not be using eval for this task. * Given two A...

mehr als 6 Jahre vor

Frage


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

mehr als 6 Jahre vor | 2 Antworten | 4

2

Antworten

Frage


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

fast 7 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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

fast 7 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

etwa 7 Jahre vor | 1 Antwort | 0

1

Antwort

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

etwa 7 Jahre vor | 1

| akzeptiert

Frage


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

etwa 7 Jahre vor | 2 Antworten | 1

2

Antworten

Frage


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

etwa 7 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 7 Jahre vor | 1 Antwort | 1

1

Antwort

Frage


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

mehr als 7 Jahre vor | 1 Antwort | 0

1

Antwort

Gesendet


binareader
Peek into an unknown binary file

mehr als 7 Jahre vor | 2 Downloads |

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

mehr als 7 Jahre vor | 0

| akzeptiert

Frage


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

mehr als 7 Jahre vor | 1 Antwort | 0

1

Antwort

Gelöst


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

mehr als 7 Jahre vor

Frage


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

mehr als 7 Jahre vor | 1 Antwort | 1

1

Antwort

Frage


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

mehr als 7 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

mehr als 8 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 8 Jahre vor | 1 Antwort | 1

1

Antwort

Frage


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

fast 9 Jahre vor | 0 Antworten | 1

0

Antworten

Frage


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

etwa 9 Jahre vor | 0 Antworten | 0

0

Antworten

Gesendet


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

mehr als 11 Jahre vor | 3 Downloads |

Frage


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

fast 12 Jahre vor | 1 Antwort | 3

1

Antwort

Frage


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

etwa 12 Jahre vor | 4 Antworten | 1

4

Antworten

Gelöst


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

etwa 12 Jahre vor

Gelöst


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

etwa 12 Jahre vor

Gelöst


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

etwa 12 Jahre vor

Mehr laden