stanford.edu/~natan

Submitted

Gaussian_Propagation

Propagates a Gaussian beam through a series of thin lenses

2 maanden ago | 15 downloads |

Submitted

cart2tripolar

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

2 maanden ago | 0 downloads |

Submitted

PolarOnionPeeling

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

2 maanden ago | 2 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...

meer dan 3 jaar 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...

meer dan 3 jaar ago | 1 answer | 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...

bijna 4 jaar ago | 12

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

ongeveer 4 jaar 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: ...

ongeveer 4 jaar ago | 1 answer | 0

Submitted

Discrete variable representation (DVR) in 1D

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

ongeveer 5 jaar ago | 4 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:...

meer dan 5 jaar 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).

meer dan 5 jaar 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....

meer dan 5 jaar ago

Solved

Determine if input is odd

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

meer dan 5 jaar 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 ...

meer dan 5 jaar 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...

meer dan 5 jaar 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...

meer dan 5 jaar ago

Submitted

Fast 2D peak finder

Find local maxima \ peak positions in noisy 2D arrays

bijna 6 jaar ago | 111 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...

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

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

meer dan 6 jaar 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 ...

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

ongeveer 7 jaar ago | 5 downloads |