Community Profile

photo

Gabriel Ruiz-Martinez


Actif depuis 2006

Interested in water waves, coastal and oceanographic phenomena.

Statistiques

All
  • MATLAB Central Treasure Hunt Finisher
  • Scavenger Finisher
  • 3 Month Streak
  • Knowledgeable Level 2
  • Community Group Solver
  • Introduction to MATLAB Master
  • Personal Best Downloads Level 3
  • First Review
  • Revival Level 2
  • First Answer
  • 5-Star Galaxy Level 4
  • First Submission

Afficher les badges

Content Feed

Afficher par

A soumis


Colebrook-White equation, using Newton-Raphson
The Colebrook-White equation is solved using the iterative method of Newton-Raphson.

environ un an il y a | 7 téléchargements |

A soumis


gebcotif2xyz
GEBCO geotiff file data are exported to two xyz files, one of them in geographical coordinates and other in UTM coordinates.

environ un an il y a | 2 téléchargements |

Thumbnail

A soumis


Conversion from water pressure to depth
Leroy and Parthiot equation is used to the conversion of water pressure to depth. This equation is an alternative to the UNESCO ...

environ 2 ans il y a | 2 téléchargements |

A répondu
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

plus de 2 ans il y a | 0

A répondu
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...

plus de 2 ans il y a | 0

A résolu


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

plus de 2 ans il y a

A résolu


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

plus de 2 ans il y a

A résolu


Inner product of two vectors
Find the inner product of two vectors.

plus de 2 ans il y a

A résolu


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

plus de 2 ans il y a

A résolu


Create a vector
Create a vector from 0 to n by intervals of 2.

plus de 2 ans il y a

A résolu


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

plus de 2 ans il y a

A résolu


Find max
Find the maximum value of a given vector or matrix.

plus de 2 ans il y a

A résolu


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

plus de 2 ans il y a

A résolu


Arrange Vector in descending order
If x=[0,3,4,2,1] then y=[4,3,2,1,0]

plus de 2 ans il y a

A résolu


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

plus de 2 ans il y a

A résolu


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

plus de 2 ans il y a

A résolu


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

plus de 2 ans il y a

A résolu


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

plus de 2 ans il y a

A résolu


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

plus de 2 ans il y a

A résolu


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

plus de 2 ans il y a

A résolu


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

plus de 2 ans il y a

A résolu


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

plus de 2 ans il y a

A soumis


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

plus de 2 ans il y a | 3 téléchargements |

Thumbnail

A répondu
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...

plus de 2 ans il y a | 0

| A accepté

A répondu
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...

plus de 2 ans il y a | 0

A répondu
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...

plus de 2 ans il y a | 0

| A accepté

A répondu
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...

presque 3 ans il y a | 0

| A accepté

A soumis


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.

presque 3 ans il y a | 2 téléchargements |

Thumbnail

A répondu
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...

presque 3 ans il y a | 0

A soumis


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

environ 3 ans il y a | 24 téléchargements |

Charger plus