Rank: 585 based on 120 downloads (last 30 days) and 13 files submitted
photo

Adam Wyatt

E-mail
Company/University
University of Oxford
Lat/Long
51.759792, -1.256422

Personal Profile:
Professional Interests:
Ultrafast laser metrology

 

Watch this Author's files

 

Files Posted by Adam View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
04 Mar 2009 Screenshot Hankel Transform Routine to perform a QDHT with no limit on data size or transform order (other than memory constrain Author: Adam Wyatt chemistry, physics, qdht bessel quasi dis... 15 3
  • 4.0
4.0 | 2 ratings
22 Jan 2009 Screenshot SPIDER simulation Simulates spectral phase interferometry for direct electric-field reconstruction (SPIDER). Author: Adam Wyatt chemistry, physics, spider, spectral, phase interferometry, direct electricfield 15 3
  • 4.0
4.0 | 1 rating
01 Aug 2008 Screenshot Stationary phase approximation for performing Fourier Transforms Performs a Fourier Transform of a function using the stationary phase approximation Author: Adam Wyatt integration, stationary phase appr..., fourier transform, timebandwidth 2 0
07 Jul 2008 Screenshot Frequency-resolved optical gating (FROG) Generates a FROG trace from a pulse and gate field in time and rconstructs these fields. Author: Adam Wyatt frog, frequency, chemistry, physics, resolved, optical 24 4
  • 5.0
5.0 | 4 ratings
18 Feb 2008 quadvgk G7-K15 adaptive quadrature on vector-valued functions Author: Adam Wyatt vector, valued, quadrature, integration, apative, functions 3 4
  • 4.5
4.5 | 3 ratings
Comments and Ratings by Adam View all
Updated File Comments Rating
13 Apr 2011 Calculate Wigner distribution Calculates the 2D Wigner distribution of a complex function. Author: Adam Wyatt

You have to think what you are doing - given data of length N, the Wigner distribution is N^2, so clearly with N=10^5, N^2 = 10^10 - you're not going to ever be able to make such a Wigner distribution.

However, it is possible that you do not need the Wigner distribution over the whole temporal and spectral domains. Unfortunately I have not implemented this yet.

13 Apr 2011 Hankel Transform Routine to perform a QDHT with no limit on data size or transform order (other than memory constrain Author: Adam Wyatt

The example given in the code does not scale the amplitudes of the angular distribution because it is not necessary (since it is only necessary to multiply by a phase factor and so the scaling required will be undone again before transforming back). However, strictly speaking this should be done as follows:

H = hankel_matrix(0, rmax, samples);
HT = @(f) (H.T*(f./H.JR)).*H.JV;
IHT = @(F) (H.T*(F./H.JV)).*H.JR;

Note that two scaling vectors are supplied:

H.JR
H.JV

Therefore I agree that the example is misguiding from a physical point of view, but not computationally, but it is not incomplete.

Note that there is a difference between the Hankel transform (HT) and the quasi discrete Hankel transform (qDHT). This code provides a way of performing the qDHT and the scaling vectors to turn it into an accurate estimation of the HT.

Indeed there is a factor of 2pi, but as stated this does depend on the definition of the HT used - so long as f = IHT(HT(f)), its all good. So using the definition consistent with the code:

HT{exp(-br^2)} = pi/b * exp{-k^2/(2*b)];

Further details can be found in the references given in the code.

13 Apr 2011 GUI Layout Toolbox Layout management objects for MATLAB GUIs Author: Ben Tordoff

Excellent work!

Comments and Ratings on Adam's Files View all
Updated File Comment by Comments Rating
09 Feb 2012 Frequency-resolved optical gating (FROG) Generates a FROG trace from a pulse and gate field in time and rconstructs these fields. Author: Adam Wyatt Byrnes, Steven

I wrote my own program, starting with this one. (You can find it posted under the same title as this one). I found this program to be a nice starting point to use. I found plenty of room for improvements and additions, but I don't remember finding any bugs that would noticeably impact the results.

01 Feb 2012 quadvgk G7-K15 adaptive quadrature on vector-valued functions Author: Adam Wyatt Dezhao

Hey Andreas, I solved my previous problem. However, I found the quadvgk is lower than using loops.
To make it work I used bsxfun and repmat. I think it is bsxfun and repmat that spent a lot of time. What's your opinion?

31 Jan 2012 quadvgk G7-K15 adaptive quadrature on vector-valued functions Author: Adam Wyatt Dezhao

Hey Andreas, this is what I am searching for.
I runned your package with 'bsxfun'. When the vector is small (or the number of n in your example) it is OK. However when the vector is huge(let's say n>>100) the program ran out of memory. Is there a way to fix it?

09 Nov 2011 quadvgk G7-K15 adaptive quadrature on vector-valued functions Author: Adam Wyatt Andreas

Sometimes it becomes really slow (and even though it only occurs on occasion, there many, many occasions in my m-files makes it an issue). Any idea anyone?

04 Nov 2011 quadvgk G7-K15 adaptive quadrature on vector-valued functions Author: Adam Wyatt Andreas

This one worked like a charm for a couple of integrals where quadv failed (and iterating over quadgk was too slow).

The file doesn't work if you follow the example though. It should be something like:

Example:
 Y = @(x,n) 1./(bsxfun(@plus,(1:n)',x));
 Qv = quadvgk(@(x) Y(x,10), [0;1], 10)

Top Tags Applied by Adam
chemistry, physics, integration, mathematics, 2d
Files Tagged by Adam View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
04 Mar 2009 Screenshot Hankel Transform Routine to perform a QDHT with no limit on data size or transform order (other than memory constrain Author: Adam Wyatt chemistry, physics, qdht bessel quasi dis... 15 3
  • 4.0
4.0 | 2 ratings
22 Jan 2009 Screenshot SPIDER simulation Simulates spectral phase interferometry for direct electric-field reconstruction (SPIDER). Author: Adam Wyatt chemistry, physics, spider, spectral, phase interferometry, direct electricfield 15 3
  • 4.0
4.0 | 1 rating
01 Aug 2008 Screenshot Stationary phase approximation for performing Fourier Transforms Performs a Fourier Transform of a function using the stationary phase approximation Author: Adam Wyatt integration, stationary phase appr..., fourier transform, timebandwidth 2 0
07 Jul 2008 Screenshot Frequency-resolved optical gating (FROG) Generates a FROG trace from a pulse and gate field in time and rconstructs these fields. Author: Adam Wyatt frog, frequency, chemistry, physics, resolved, optical 24 4
  • 5.0
5.0 | 4 ratings
18 Feb 2008 quadvgk G7-K15 adaptive quadrature on vector-valued functions Author: Adam Wyatt vector, valued, quadrature, integration, apative, functions 3 4
  • 4.5
4.5 | 3 ratings

Contact us at files@mathworks.com