stanford.edu/~natan

Submitted

Gaussian_Propagation

Propagates a Gaussian beam through a series of thin lenses

8 months ago | 17 downloads |

Submitted

cart2tripolar

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

8 months ago | 1 download |

Submitted

PolarOnionPeeling

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

8 months ago | 3 downloads |

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

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

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

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

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

4 years ago | 1 answer | 0

Submitted

Discrete variable representation (DVR) in 1D

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

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

6 years 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).

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

6 years ago

Solved

Determine if input is odd

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

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

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

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

6 years ago

Submitted

Fast 2D peak finder

Find local maxima \ peak positions in noisy 2D arrays

6 years ago | 123 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...

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

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

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

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

7 years ago | 5 downloads |