# Gabriel Ruiz-Martinez

Interested in water waves, coastal and oceanographic phenomena.

**Statistics**

RANK**3.086**

of 246.627

REPUTATION**12**

CONTRIBUTIONS

**1** Question

**7** Answers

ANSWER ACCEPTANCE **
0.0%
**

VOTES RECEIVED**0**

RANK**190** of 17.206

REPUTATION**6.524**

AVERAGE RATING**3.90**

CONTRIBUTIONS**18** Files

DOWNLOADS **112**

ALL TIME DOWNLOADS**64461**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

Harmonic Analysis for Tidal time series data

@Shuvashish Roy, you can try with LP-TIDES, this a nice Matlab GUI that uses T-Tide toolbox. Regards

3 mesi ago | 0

Shallow Water wave phase speed.

@Jeremiah Thomas, a solution could be this: % Wave period (s) T = 2:15; % Water depths vector (m) d = 1:4000; % Gravit...

3 mesi ago | 0

Solved

Doubling elements in a vector

Given the vector A, return B in which all numbers in A are doubling. So for: A = [ 1 5 8 ] then B = [ 1 1 5 ...

3 mesi ago

Solved

Whether the input is vector?

Given the input x, return 1 if x is vector or else 0.

3 mesi ago

Solved

Vector creation

Create a vector using square brackets going from 1 to the given value x in steps on 1. Hint: use increment.

3 mesi ago

Solved

Flip the vector from right to left

Flip the vector from right to left. Examples x=[1:5], then y=[5 4 3 2 1] x=[1 4 6], then y=[6 4 1]; Request not ...

3 mesi ago

Solved

Get the length of a given vector

Given a vector x, the output y should equal the length of x.

3 mesi ago

Solved

Swap the input arguments

Write a two-input, two-output function that swaps its two input arguments. For example: [q,r] = swap(5,10) returns q = ...

3 mesi ago

Solved

Roll the Dice!

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

3 mesi ago

Solved

Number of 1s in a binary string

Find the number of 1s in the given binary string. Example. If the input string is '1100101', the output is 4. If the input stri...

3 mesi ago

Solved

Calculate BMI

Given a matrix |hw| (height and weight) with two columns, calculate BMI using these formulas: * 1 kilogram = 2.2 pounds * 1 ...

3 mesi ago

Solved

Convert from Fahrenheit to Celsius

Given an input vector |F| containing temperature values in Fahrenheit, return an output vector |C| that contains the values in C...

3 mesi ago

Solved

Make a random, non-repeating vector.

This is a basic MATLAB operation. It is for instructional purposes. --- If you want to get a random permutation of integer...

4 mesi ago

Solved

Select every other element of a vector

Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

4 mesi ago

Solved

Swap the first and last columns

Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...

4 mesi ago

Submitted

Modified Shields diagram and criterion

shieldsmodbonlay(rhom,diam) computes the modified Shields criterion for the initiation of motion of a cohesionless sediment.

4 mesi ago | 1 download |

Tide analysis and prediction

A little late Nazmul, but I hope this answer can help to other people with the same doubt. All tidal analysis requires two inpu...

4 mesi ago | 0

| accepted

What data from mareographs do I need to perform a tide prediction in T-Tide?

Hi Alexandria, It's little late to reply your message, but I hope this message can help to other people with the same doubt. I...

4 mesi ago | 0

Math lab tool for calculating of Tide

Hi Indika, if you have a water level record of 12 years, you can use the Rich Pawlowicz's T-Tide Matlab toolbox to analyze your...

5 mesi ago | 0

| accepted

Amount of rain and precipitation simulation

In order to give you an idea, you should check the algorithm of: Intensity duration frequency curves or check this book: Arag...

7 mesi ago | 0

| accepted

Submitted

Exporting HYCOM currents data to txt and mat files

Downloading sea currents components currents of a point dataset from HYCOM dataset, using an OpeNDAP URL.

7 mesi ago | 2 downloads |

Downloading HYCOM data using Matlab and OPeNDAP

HI Amitava, thanks for sharing your Powershell script. Recently, I faced off the same problem as you. Using the NCTOOLBOX (Schil...

7 mesi ago | 0

Submitted

Seawater density from salinity, temperature and pressure

From practical salinity, temperature and pressure values, the seawater density is computed.

10 mesi ago | 22 downloads |

Submitted

Water Salinity from Pressure and Conductivity of the water

A simple script which computes the water salinity from pressure and conductivity of water data.

10 mesi ago | 6 downloads |

Solved

Finding Perfect Squares

Given a vector of numbers, return true if one of the numbers is a square of one of the other numbers. Otherwise return false. E...

11 mesi ago

Solved

Check if number exists in vector

Return 1 if number _a_ exists in vector _b_ otherwise return 0. a = 3; b = [1,2,4]; Returns 0. a = 3; b = [1,...

11 mesi ago