Community Profile

Adam Wyatt


University of Oxford

23 total contributions since 2007

Professional Interests: Ultrafast laser metrology

Contact

Adam Wyatt's Badges

  • Personal Best Downloads Level 2
  • First Review
  • 5-Star Galaxy Level 4
  • First Submission
  • Solver

View details...

Contributions in
View by

Solved


Remove the vowels
Remove all the vowels in the given phrase. Example: Input s1 = 'Jack and Jill went up the hill' Output s2 is 'Jck nd Jll wn...

más de 7 años ago

Solved


Fibonacci sequence
Calculate the nth Fibonacci number. Given n, return f where f = fib(n) and f(1) = 1, f(2) = 1, f(3) = 2, ... Examples: Inpu...

más de 7 años ago

Solved


Most nonzero elements in row
Given the matrix a, return the index r of the row with the most nonzero elements. Assume there will always be exactly one row th...

más de 7 años ago

Solved


Is my wife right?
Regardless of input, output the string 'yes'.

más de 7 años ago

Solved


Determine whether a vector is monotonically increasing
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...

más de 7 años ago

Solved


Make a checkerboard matrix
Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Example...

más de 7 años ago

Solved


Find all elements less than 0 or greater than 10 and replace them with NaN
Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...

más de 7 años 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...

más de 7 años ago

Solved


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

más de 7 años ago

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

más de 7 años ago

Submitted


Hankel Transform
Routine to perform a QDHT with no limit on data size or transform order (other than memory constrain

casi 11 años ago | 7 downloads |

Thumbnail

Submitted


SPIDER simulation
Simulates spectral phase interferometry for direct electric-field reconstruction (SPIDER).

alrededor de 11 años ago | 2 downloads |

Thumbnail

Submitted


Moments of a function
Generates the nth order moment of a function.

más de 11 años ago | 1 download |

Submitted


Stationary phase approximation for performing Fourier Transforms
Performs a Fourier Transform of a function using the stationary phase approximation

más de 11 años ago | 1 download |

Thumbnail

Submitted


Frequency-resolved optical gating (FROG)
Generates a FROG trace from a pulse and gate field in time and rconstructs these fields.

más de 11 años ago | 12 downloads |

Thumbnail

Submitted


quadvgk
G7-K15 adaptive quadrature on vector-valued functions

casi 12 años ago | 2 downloads |

Submitted


findFWHM
Finds the full width at half maxium (FWHM) of a real function.

más de 12 años ago | 1 download |

Submitted


Forced damped driven pendulum
A forced damped driven pendulum exhibits chaotic motion.

más de 12 años ago | 4 downloads |

Thumbnail

Submitted


Calculate Wigner distribution
Calculates the 2D Wigner distribution of a complex function.

más de 12 años ago | 9 downloads |

Submitted


Integer order radial-2D Gaussian function.
Generates a 'radial' Gaussian function in 2D of any positive integer order.

más de 12 años ago | 1 download |

Submitted


Integer order 1D Gaussian function
Performs a Gaussian function of any positive order.

más de 12 años ago | 2 downloads |

Submitted


Pulse Propagation
Electromagnetic pulse propagation in free space in 2 spatial dimensions.

más de 12 años ago | 6 downloads |

Thumbnail

Submitted


cumquad
Cumulative integration of analytical functions via adaptive simpsons quadrature.

alrededor de 13 años ago | 1 download |