Rank: 417 based on 226 downloads (last 30 days) and 12 files submitted
photo

Zachary Danziger

E-mail
Company/University
Duke University

Personal Profile:

Postdoctoral researcher in neuroscience.

Web: https://sites.google.com/site/zdanziger/home

Professional Interests:
computational motor control

 

Watch this Author's files

 

Files Posted by Zachary View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
21 Nov 2013 Symbolic Matrix Creates a matrix composed of properly indexed symbolic elements. Author: Zachary Danziger mathematics, linear algebra, symbolic math, symbols, matrix 9 0
30 May 2013 Screenshot Discrete Frechet Distance The discrete Frechet distance is a scalar measure of similarity between two curves. Author: Zachary Danziger metric, measure, similarity, curves, mathematics, frechet 41 15
  • 4.33333
4.3 | 4 ratings
03 Apr 2013 Screenshot Text Yahtzee Play Yahtzee in the command window, with multiple players per game. Author: Zachary Danziger games, game 10 0
  • 5.0
5.0 | 1 rating
03 Apr 2013 Screenshot Hausdorff Distance Calculates the Hausdorff Distance between two sets of points in a Euclidean metric space. Author: Zachary Danziger mathematics, metric, distance, trajectory similarity 77 7
  • 4.375
4.4 | 8 ratings
03 Apr 2013 Screenshot Variable Frequency Sine Wave Create a sine wave by defining the frequency over a series of intervals. Author: Zachary Danziger mathematics 11 0
Comments and Ratings by Zachary View all
Updated File Comments Rating
08 Aug 2014 fftnoise - generate noise with a specified power spectrum Useful helper function for Monte Carlo null-hypothesis tests and confidence interval estimation. Author: Aslak Grinsted

Useful and quick.

12 Jul 2014 ChessPeace Software for playing Chess and Chess Variants Author: Zachary Danziger

@Madhur: Castling is implemented. Drop your king on any piece that is capable of castling. :)

17 Jul 2013 Discrete Frechet Distance The discrete Frechet distance is a scalar measure of similarity between two curves. Author: Zachary Danziger

Leyon,
The Frechet Distance, which this code approximates, is only defined for 2 curves. However, I am sure that some one cleverer than I could think of a way...

04 Jun 2013 Discrete Frechet Distance The discrete Frechet distance is a scalar measure of similarity between two curves. Author: Zachary Danziger

Arthur,
If you are just looking for the standard Euclidean distance you can leave off the dfcn argument and it will be used by default.

Otherwise it expects a function handle. The 'ordinary' distance function is passed as:
dfcn = @(p,q) sqrt(sum( (p-q).^2 ));

But any function will work that operates on points p and q that respects their dimensionality. A Chebyshev-like measure could be used, for example:
dcheb = @(p,q) max(abs(p-q))

29 May 2013 Discrete Frechet Distance The discrete Frechet distance is a scalar measure of similarity between two curves. Author: Zachary Danziger

Thanks for all your help Lingji, it's certainly a better tool now.

Comments and Ratings on Zachary's Files View all
Updated File Comment by Comments Rating
12 Jul 2014 ChessPeace Software for playing Chess and Chess Variants Author: Zachary Danziger Danziger, Zachary

@Madhur: Castling is implemented. Drop your king on any piece that is capable of castling. :)

11 Jul 2014 ChessPeace Software for playing Chess and Chess Variants Author: Zachary Danziger Madhur

Castling is not implemented ?

16 May 2014 Hausdorff Distance Calculates the Hausdorff Distance between two sets of points in a Euclidean metric space. Author: Zachary Danziger Mahmoudzadeh, Amir Pasha

It is great code, but you need to fix your bugs: in order to achieve the same column for your both images, you can fix number of columns with the following codes:

nrows = max(size(I1,1), size(I2,1));
ncols = max(size(I1,2), size(I2,2));
nchannels = size(I1,3);

extendedI1 = [ I1, zeros(size(I1,1), ncols-size(I1,2), nchannels); ...
zeros(nrows-size(I1,1), ncols, nchannels)];

extendedI2 = [ I2, zeros(size(I2,1), ncols-size(I2,2), nchannels); ...
zeros(nrows-size(I2,1), ncols, nchannels)];

I1=extendedI1;
I2=extendedI2;

Also, Binary images don't give us the minimum numbers for Hausdorff Distance. I checked your codes with several binary images and all of the times the max Hausdorff Distance numbers were the correct answer, not the minimum number.

08 Feb 2014 Hausdorff Distance Calculates the Hausdorff Distance between two sets of points in a Euclidean metric space. Author: Zachary Danziger R, Venkat

Very fast and useful submission.
Works well for me. Thank you

21 Jan 2014 Iterated Prisoner's Dilemma The iterated prisoner's dilemma game for multiple players and multiple submissions per player. Author: Zachary Danziger Tanasa, Luci

Contact us