Community Profile

photo

Gar


33 total contributions since 2006

Gar's Badges

  • Scavenger Finisher
  • Solver

View details...

Contributions in
View by

Solved


calculate PI without using pi function
There are many methods to get the pi(Ratio of circumference to diameter). You should get pi without using the pi function in M...

7 months ago

Solved


Convert degrees to radians
Given input in degrees, output to radians

7 months ago

Submitted


Water Salinity from Pressure and Conductivity of tyhe water
A simple script which computes the water salinity from pressure and conductivity of water data.

11 months ago | 5 downloads |

Thumbnail

Solved


Rotate Matrix @180 degree
Rotate Matrix @180 degree Example A=[8 1 6; 3 5 7; 4 9 2], then answer would be [2 9 4;...

1 year ago

Submitted


Sand Sieve Analysis (SANDY)
Script that allows you to know the main parameters of a sand sieve analysis

2 years ago | 16 downloads |

Thumbnail

Solved


Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

2 years ago

Solved


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

3 years ago

Solved


Create times-tables
At one time or another, we all had to memorize boring times tables. 5 times 5 is 25. 5 times 6 is 30. 12 times 12 is way more th...

3 years ago

Solved


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

3 years ago

Solved


Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

3 years ago

Solved


Circle area using pi
Given a circle's radius, compute the circle's area. Use the built-in mathematical constant pi.

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

3 years ago

Solved


Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

3 years ago

Solved


Remove any row in which a NaN appears
Given the matrix A, return B in which all the rows that have one or more <http://www.mathworks.com/help/techdoc/ref/nan.html NaN...

3 years ago

Solved


Column Removal
Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; and ...

3 years ago

Solved


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

3 years ago

Solved


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

3 years ago

Solved


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

3 years ago

Solved


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

3 years ago

Submitted


gridding_surfer
This script creates a grid from irregularly spaced XYZ data, using Surfer 8 and 11.

4 years ago | 2 downloads |

Submitted


Conversion of Spherical Coordinates to UTM Coordinates
GUI allows you convert spherical coordinates to UTM coordinates

6 years ago | 5 downloads |

Thumbnail

Submitted


Longshore Sand Transport (LST)
Script which evaluates the LST, using 3 different equations.

10 years ago | 1 download |

Submitted


Dispersion relationship for water waves
This script computes the dispersion relationship for water waves

10 years ago | 10 downloads |

Submitted


Relationship between wavelength, wave period and water depth
Plot which shows relationship between wavelength, wave period and water depth.

11 years ago | 3 downloads |

Thumbnail

Submitted


Sediment Transport Outside of the Surf Zone
Sediment Transport Outside the Surf Zone Model.

11 years ago | 2 downloads |

Submitted


Small Amplitude Wave Theory
Parameters of a water wave, using small amplitude wave theory.

11 years ago | 6 downloads |

Thumbnail

Submitted


Significant wave height
This function gets some wave heights

12 years ago | 7 downloads |

Submitted


Conversion of UTM Coordinates to Spherical Coordinates
Little GUI allows you convert UTM coordinates to spherical coordinates.

12 years ago | 1 download |

Thumbnail

Submitted


julian2greg
This function converts the Julian dates to Gregorian dates.

13 years ago | 6 downloads |

Submitted


greg2julian
This function converts the Gregorian dates to Julian dates.

13 years ago | 1 download |

Load more