Rank: 1648 based on 42 downloads (last 30 days) and 6 files submitted
photo

Christopher Wilcox

E-mail
Company/University
Naval Research Laboratory

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Files Posted by Christopher View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
12 Mar 2012 Circ Matlab function to return a generalized circular/elliptical mask Author: Christopher Wilcox circle, mask, array, data 10 0
12 Mar 2012 Pad Matlab function to pad an array to a desired new size Author: Christopher Wilcox array, data 4 0
24 Mar 2010 Zernike Polynomial Coefficients for a given Wavefront using Matrix Inversion in Matlab Calculation of Zernike Polynomial Coefficients for a given Wavefront using Matrix Inversion Author: Christopher Wilcox zernike, polynomials, wavefront, matrix, inversion, linear algebra 17 2
  • 5.0
5.0 | 1 rating
24 Mar 2010 Conversion from Right Ascension/Declination to Altitude/Azimuth in Matlab Convert from Right Ascension/Declination to Altitude/Azimuth. Author: Christopher Wilcox altitude, azimuth, latitude, longitude, right ascension, declination 2 0
24 Mar 2010 Conversion from Altitude/Azimuth to Right Ascension/Declination in Matlab Convert from Altitude/Azimuth to Right Ascension/Declination Author: Christopher Wilcox altitude, azimuth, latitude, longitude, right ascension, declination 3 2
  • 4.0
4.0 | 2 ratings
Comments and Ratings by Christopher
Updated File Comments Rating
04 Aug 2010 Zernike Polynomial Coefficients for a given Wavefront using Matrix Inversion in Matlab Calculation of Zernike Polynomial Coefficients for a given Wavefront using Matrix Inversion Author: Christopher Wilcox

@Eric Thanks for the suggestions! I'll work array size options in. The Zernike cell, I have kept because it can be useful to have this function return them to reconstruct the wavefront without having to calculate them a second time in another script. Mainly was just for me.
Also, thats a great suggestion for the non-square case, I hadn't really decided what to do about that case, but your suggestion sounds like a good idea.

Chris

Comments and Ratings on Christopher's Files View all
Updated File Comment by Comments Rating
06 May 2012 Conversion from Altitude/Azimuth to Right Ascension/Declination in Matlab Convert from Altitude/Azimuth to Right Ascension/Declination Author: Christopher Wilcox Qingfeng

As tom said,somthing wrong with the julian date.
To compute julian date, use MatLab function: juliandate.
Note: input time is UTC time.

10 Feb 2011 Conversion from Altitude/Azimuth to Right Ascension/Declination in Matlab Convert from Altitude/Azimuth to Right Ascension/Declination Author: Christopher Wilcox Tom

I believe the julian date might be coming out wrong in this script. It appears to be 3 days off.

04 Aug 2010 Zernike Polynomial Coefficients for a given Wavefront using Matrix Inversion in Matlab Calculation of Zernike Polynomial Coefficients for a given Wavefront using Matrix Inversion Author: Christopher Wilcox Wilcox, Christopher

@Eric Thanks for the suggestions! I'll work array size options in. The Zernike cell, I have kept because it can be useful to have this function return them to reconstruct the wavefront without having to calculate them a second time in another script. Mainly was just for me.
Also, thats a great suggestion for the non-square case, I hadn't really decided what to do about that case, but your suggestion sounds like a good idea.

Chris

16 Jul 2010 Zernike Polynomial Coefficients for a given Wavefront using Matrix Inversion in Matlab Calculation of Zernike Polynomial Coefficients for a given Wavefront using Matrix Inversion Author: Christopher Wilcox Eric

This is a very good function. Some comments:

1. The cell array "Zernike" seems unnecessary. The for loop on lines 51-54 can be wrapped into the later loop for i=1:M. This saves some memory and a for loop.

2. You should mention somewhere in the documentation that the Zernike polynomials are only calculated on a 256x256 grid, regardless of the size of the input wavefront. I understand this will speed calculations when larger wavefronts are decomposed, but some users may see errors associated with this. It might be worthwhile to have this as an option (i.e., calculate Zernike polynomials over the entire array when accuracy is critical or use the 256x256 option when speed is critical).

3. You might modify the function to more elegantly handle non-square wavefront data. You could pad the smaller dimensions with zeros to make it square, for instance. Or you could solve the equation using a different technique that does not impose this constraint. You may need to force the user to supply (x,y) position data for that to make sense.

Top Tags Applied by Christopher
altitude, array, azimuth, data, declination
Files Tagged by Christopher View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
12 Mar 2012 Circ Matlab function to return a generalized circular/elliptical mask Author: Christopher Wilcox circle, mask, array, data 10 0
12 Mar 2012 Pad Matlab function to pad an array to a desired new size Author: Christopher Wilcox array, data 4 0
24 Mar 2010 Zernike Polynomial Coefficients for a given Wavefront using Matrix Inversion in Matlab Calculation of Zernike Polynomial Coefficients for a given Wavefront using Matrix Inversion Author: Christopher Wilcox zernike, polynomials, wavefront, matrix, inversion, linear algebra 17 2
  • 5.0
5.0 | 1 rating
24 Mar 2010 Conversion from Right Ascension/Declination to Altitude/Azimuth in Matlab Convert from Right Ascension/Declination to Altitude/Azimuth. Author: Christopher Wilcox altitude, azimuth, latitude, longitude, right ascension, declination 2 0
24 Mar 2010 Conversion from Altitude/Azimuth to Right Ascension/Declination in Matlab Convert from Altitude/Azimuth to Right Ascension/Declination Author: Christopher Wilcox altitude, azimuth, latitude, longitude, right ascension, declination 3 2
  • 4.0
4.0 | 2 ratings

Contact us