Solved


Unit Matrix
Given n, you should return an n-by-n unit matrix. Example: If input is n=2 then A = [ 1 0 0 1 ] If input ...

10 years ago

Solved


Find nth maximum
Find nth maximum in a vector of integer numbers. Return NaN if no such number exists. x = [2 6 4 9 -10 3 1 5 -10]; So ...

10 years ago

Solved


Signed Magnitude
For a given input vector, return the value that is furthest from zero. For example, if x = [1 2 -12] return -12.

10 years ago

Solved


Count decimal digits of a number
* Given an integer number you have to return the number of its digits. * For example 248 has 3 digits and 1589 has 4 digits ...

10 years 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 ...

10 years ago

Solved


Add two numbers
Given a and b, return the sum a+b in c.

10 years ago

Answered
Need to Decrease the Width of FFT
Dear Chirag, From what you say, I understand that you want to decrease the df of your spectrum. You know that df = 1/(N dt), ...

13 years ago | 1

Submitted


Plotstack
A plot utility, to plot graphs one over the other (or one next to the other vertically)

13 years ago | 2 downloads |

Thumbnail

Submitted


Graphical convolution animation
Shows graphically the stages of discrete convolution for any two 1-D signals (educational tool).

14 years ago | 5 downloads |

Thumbnail

Submitted


Lomb normalized periodogram
Both functions calculate the Lomb-Scargle periodogram (aka Gauss-Vanicek/Least-squares spectrum)

15 years ago | 7 downloads |

Submitted


Fresnel integrals
Calculates FresnelC, FresnelS integrals and their variations (C_1, C_2 and S_1 and S_2)

15 years ago | 1 download |

Submitted


Laplace random variables
This function generates random numbers distributed according to the Laplace distribution

15 years ago | 1 download |

Submitted


Actual zero or any-value crossing
Finds actual zero (or any other value) "actual" crossings

17 years ago | 1 download |

Submitted


SAC_Sun2PC_mat
This is utility to read SAC (Seismic Analysis Code) binary files created on/for SUN platform.

21 years ago | 1 download |