Submitted

Spatial mapping of Gutenberg-Richters b-value

Implementation of the three different sampling methods (DEW, FixR, NearN)

2 months ago | 5 downloads |

Submitted

FilterPicker: a robust, broadband phase detector and picker

This is a Matlab implementation of the FilterPicker (Lomax et al., 2011)

3 months ago | 5 downloads |

Submitted

Sample a truncated multivariate normal distribution

Generates samples from a MVN within a lower and upper bound.

3 months ago | 1 download |

Answered

Minimum size Neural Network to represent a Boolean Function

A single neuron (with one input and one output) will take the input, multiply it by a weight, add it a bias, pass it through a n...

Minimum size Neural Network to represent a Boolean Function

A single neuron (with one input and one output) will take the input, multiply it by a weight, add it a bias, pass it through a n...

3 months ago | 0

Answered

I have latitude, longitude and Height data in form matrix, then I would plot these values in 3D plot just like how surface looks.

lat and lon are in degrees and height is in meter/kilometers etc. If you want to plot them in the same plot (with |plot3| for ex...

I have latitude, longitude and Height data in form matrix, then I would plot these values in 3D plot just like how surface looks.

lat and lon are in degrees and height is in meter/kilometers etc. If you want to plot them in the same plot (with |plot3| for ex...

3 months ago | 0

Answered

How can I access the file seismic_data.dat mentioned in the "signal analysis made easy"?

You can download such ground motion records online. For instance here is a link to the Turkish strong ground motion database. <...

How can I access the file seismic_data.dat mentioned in the "signal analysis made easy"?

You can download such ground motion records online. For instance here is a link to the Turkish strong ground motion database. <...

1 year ago | 0

Submitted

Condensation of earthquake location distributions: Optimal spatial information encoding

Reduces the size of a catalog by taking into the account individual location uncertainties

2 years ago | 3 downloads |

Submitted

Probabilistic Earthquake Location in 2D

Demonstrates the effect of data and model errors on the estimation of epicenter location.

2 years ago | 5 downloads |

Submitted

Uniformly distributed weights that sum up to 1

Generates N uniformly distributed weights that sum up to 1

2 years ago | 1 download |

Solved

Cellular Automaton | Rule X

Cellular Automata (CA) provide a convenient way to represent many kinds of systems in which the values of cells (either 0 or 1) ...

2 years ago

Solved

Too mean-spirited

Find the mean of each consecutive pair of numbers in the input row vector. For example, x=[1 2 3] ----> y = [1.5 2.5] x=[1...

2 years ago

Solved

Roll the Dice!

*Description* Return two random integers between 1 and 6, inclusive, to simulate rolling 2 dice. *Example* [x1,x2] =...

2 years ago

Solved

Sum all integers from 1 to 2^n

Given the number x, y must be the summation of all integers from 1 to 2^x. For instance if x=2 then y must be 1+2+3+4=10.

2 years ago

Solved

Distance walked 1D

Suppose you go from position 7 to 10 to 6 to 4. Then you have walked 9 units of distance, since 7 to 10 is 3 units, 10 to 6 is 4...

2 years ago

Solved

Weighted average

Given two lists of numbers, determine the weighted average. Example [1 2 3] and [10 15 20] should result in 33.333...

2 years ago

Answered

Replacing NaN with nearest neighbor

A quick and dirty* way is to get the indices of the NaN values and replace them with their immediate neighbors (to the left or r...

Replacing NaN with nearest neighbor

A quick and dirty* way is to get the indices of the NaN values and replace them with their immediate neighbors (to the left or r...

2 years ago | 0

Submitted

str2pattern(str,width)

Converts a string to a binary pattern using Morse code

3 years ago | 2 downloads |

Submitted

The Barycentric Fixed-Mass method for estimating fractal dimensions

A method for estimating (multi) fractal properties of 2D/3D point distributions

3 years ago | 3 downloads |

Submitted

Generic Fractal Generator

Generates a multi/monofractal point distribution from user supplied or build-in template matrix.

3 years ago | 7 downloads |

Answered

Batch inside a Batch

It seems like you are not allowed to change the pool size on the cluster. You can see the effect of the number of cores by chang...

Batch inside a Batch

It seems like you are not allowed to change the pool size on the cluster. You can see the effect of the number of cores by chang...

5 years ago | 0

| accepted

Answered

How to display the Matlab command window data in GUI static text

You create a text box and then you update it like this set(txt_handle,'string','blaaa')

How to display the Matlab command window data in GUI static text

You create a text box and then you update it like this set(txt_handle,'string','blaaa')

5 years ago | 0