stanford.edu/~natan

Submitted

Gaussian_Propagation

Propagates a Gaussian beam through a series of thin lenses

8 mesi ago | 21 downloads |

Submitted

cart2tripolar

Create a compact polar from Cartesian array with equal information per pixel

9 mesi ago | 1 download |

Submitted

PolarOnionPeeling

Apply polar onion peeling method for analyzing velocity map imaging (VMI) data.

9 mesi ago | 1 download |

Question

how can a .mat file crash matlab ?

I've tried to load a .mat file (48 MB) that I got from a colleague found <https://docs.google.com/uc?id=0BzRr65CAEmNMXzVIWFV4cDl...

circa 4 anni ago | 1 answer | 0

Question

reading saved gpuArray data with a non-gpu computer

After some lengthy calculations using gpus in Matlab (2015b, cuda7), I have saves .mat files that have variables of class gpuArr...

circa 4 anni ago | 2 answers | 0

Answered

saving edited colormap data

It looks like the colormap is now associated with the axes rather than the figure. So, cmap = colormap(gca); will re...

saving edited colormap data

It looks like the colormap is now associated with the axes rather than the figure. So, cmap = colormap(gca); will re...

oltre 4 anni ago | 13

| accepted

Question

saving edited colormap data

After editing an existing colormap with the *colormapeditor*, I want to save it. The documentation states that I should do somet...

oltre 4 anni ago | 3 answers | 3

Question

Matlab 2014b crashing suddently when using a specific folder

I've copied a folder of some code from one computer to another. And when I try to access it I get the following matlab error: ...

circa 5 anni ago | 1 answer | 0

Submitted

Discrete variable representation (DVR) in 1D

Discrete variable representation (DVR) for 1D systems in QM

oltre 5 anni ago | 2 downloads |

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

circa 6 anni ago

Solved

Number of problems

No, you don't read it wrong: this assignment is to return the number of this problem (and not the problem of this number).

oltre 6 anni ago

Solved

Tony's trick for duplicating an mx1 vector n times

Without using repmat, or for loop, or concatenation, create a function to duplicate a vector, v, a specified number of times, n....

oltre 6 anni ago

Solved

Determine if input is odd

Given the input n, return true if n is odd or false if n is even.

oltre 6 anni 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 ...

oltre 6 anni 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...

oltre 6 anni ago

Solved

Generate a vector like 1,2,2,3,3,3,4,4,4,4

Generate a vector like 1,2,2,3,3,3,4,4,4,4 So if n = 3, then return [1 2 2 3 3 3] And if n = 5, then return [1 2 2...

oltre 6 anni ago

Submitted

Fast 2D peak finder

Find local maxima \ peak positions in noisy 2D arrays

oltre 6 anni ago | 127 downloads |

Question

Why is scatteredInterpolant slower than TriScatteredInterp ?

I've written a code that uses *TriScatteredInterp*, but I read in Matlab's documentation that this will not be supported in futu...

oltre 6 anni ago | 1 answer | 0

Question

Will AccelerEyes Jacket functionality be implemented into MATLAB?

AccelerEyes announced in december 2012 that it works with Mathworks on the GPU code and has discontinued its product Jacket for ...

oltre 6 anni ago | 2 answers | 2

Question

Faster way to initilize arrays via empty matrix multiplication?

I've stumbled upon the weird way (in my view) that Matlab is dealing with empty matrices. For example, if two empty matrices are...

circa 7 anni ago | 5 answers | 7

Answered

Issues with imaginary exponentiation for large, widely spaced vectors

According to: http://www.mathworks.com/help/techdoc/ref/unwrap.html "A jump tolerance less than π has the same effect as ...

Issues with imaginary exponentiation for large, widely spaced vectors

According to: http://www.mathworks.com/help/techdoc/ref/unwrap.html "A jump tolerance less than π has the same effect as ...

oltre 7 anni ago | 0

Submitted

1D Blaise filter for quick smoothing without Curve Fitting Toolbox

Basic 1D smoothing of noisy data according to predetermined weights and window size.

oltre 7 anni ago | 5 downloads |