![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/211315_1599695558918_DEF.jpg)
Adam Wyatt
University of Oxford
Followers: 0 Following: 0
Professional Interests: Ultrafast laser metrology
Feeds
已解决
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...
12 years 前
已解决
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...
12 years 前
已解决
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...
12 years 前
已解决
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...
12 years 前
已解决
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...
12 years 前
已解决
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 ...
12 years 前
已解决
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...
12 years 前
已解决
Determine if input is odd
Given the input n, return true if n is odd or false if n is even.
12 years 前
已解决
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:...
12 years 前
已提交
Hankel Transform
Routine to perform a QDHT with no limit on data size or transform order (other than memory constrain
15 years 前 | 4 次下载 |
![Thumbnail](/matlabcentral/mlc-downloads/downloads/submissions/15623/versions/2/screenshot.jpg)
已提交
SPIDER simulation
Simulates spectral phase interferometry for direct electric-field reconstruction (SPIDER).
15 years 前 | 4 次下载 |
![Thumbnail](/matlabcentral/mlc-downloads/downloads/submissions/15657/versions/2/screenshot.jpg)
已提交
Frequency-resolved optical gating (FROG)
Generates a FROG trace from a pulse and gate field in time and rconstructs these fields.
16 years 前 | 8 次下载 |
已提交
Calculate Wigner distribution
Calculates the 2D Wigner distribution of a complex function.
16 years 前 | 5 次下载 |
已提交
Stationary phase approximation for performing Fourier Transforms
Performs a Fourier Transform of a function using the stationary phase approximation
16 years 前 | 1 次下载 |
![Thumbnail](/matlabcentral/mlc-downloads/downloads/submissions/20930/versions/1/screenshot.jpg)
已提交
Forced damped driven pendulum
A forced damped driven pendulum exhibits chaotic motion.
17 years 前 | 3 次下载 |
![Thumbnail](/matlabcentral/mlc-downloads/downloads/submissions/15656/versions/1/screenshot.jpg)
已提交
Integer order radial-2D Gaussian function.
Generates a 'radial' Gaussian function in 2D of any positive integer order.
17 years 前 | 2 次下载 |
已提交
Integer order 1D Gaussian function
Performs a Gaussian function of any positive order.
17 years 前 | 1 次下载 |
已提交
Pulse Propagation
Electromagnetic pulse propagation in free space in 2 spatial dimensions.
17 years 前 | 3 次下载 |
![Thumbnail](/matlabcentral/mlc-downloads/downloads/submissions/13657/versions/1/screenshot.gif)
已提交
cumquad
Cumulative integration of analytical functions via adaptive simpsons quadrature.
17 years 前 | 1 次下载 |