Community Profile

# Rafael Hernandez-Walls

Last seen: 10 days ago Active since 2010

My interest is everything related to numerical schemes applied to PDE and Oceanography, UABC.

All

#### Content Feed

View by

Solved

Weighted Convolution
Given two input vectors x = [x_1, x_2, ..., x_K] and y = [y_1, y_2, ..., y_K] of equal length, compute the weighted convolution ...

3 months ago

Solved

The Piggy Bank Problem
Given a cylindrical piggy bank with radius g and height y, return the bank's volume. [ g is first input argument.] Bonus though...

11 months ago

Solved

mathematics , probability problem
How many different result can we have, rolling k dice?

1 year ago

Solved

MATLAB Basics: Complex Conjugates
For a given complex number, x, return the complex conjugate, y.

1 year ago

Solved

MATLAB Basics: Complex Numbers
For a given complex number, x, return the real and imaginary parts as a vector, y = [Real Imaginary].

1 year ago

Solved

Flip coins

1 year ago

Solved

Normalizing a vector

1 year ago

Solved

Return fibonacci sequence do not use loop and condition
Calculate the nth Fibonacci number. Given n, return f where f = fib(n) and f(1) = 1, f(2) = 1, f(3) = 2, ... Examples: ...

1 year ago

Solved

Number of Even Elements in Fibonacci Sequence
Find how many even Fibonacci numbers are available in the first d numbers. Consider the following first 14 numbers 1 1 2...

1 year ago

Solved

Find the next Fibonacci number
In the sequence of Fibonacci numbers, every number is the sum of the two preceding ones: 1, 1, 2, 3, 5, 8, 13, 21, 34, 55...

1 year ago

Solved

Mass Conversion 1

1 year ago

Solved

Mass Conversion 2

1 year ago

Solved

Calculate the answer to life the universe and everything
<https://en.wikipedia.org/wiki/42_(number)>

1 year ago

Solved

How many hours are there in a day in Italy?
Remember "European Summer Time"

1 year ago

Solved

Temperature Conversion 3

1 year ago

Solved

Temperature Conversion 2

1 year ago

Solved

Temperature Conversion 1

1 year ago

Solved

Simpsons's rule (but not Homer Simpson)
I wonder what Homer Simpson would have thought of Simpson's rule? Somehow I doubt his thoughts would have included the phrase Ne...

1 year ago

Solved

Total energy

1 year ago

Solved

Potential energy calculation

1 year ago

Solved

Kinetic energy calculation

1 year ago

Solved

Laws of motion 7

1 year ago

Solved

Laws of motion 6

1 year ago

Solved

Laws of motion 5

1 year ago

Solved

Laws of motion 4

1 year ago

Solved

Laws of motion 3

1 year ago

Solved

Laws of motion 2

1 year ago

Solved

Laws of motion 1

1 year ago

Solved

Find the repeating elements and repetitions of a row vector.
So let's say that x is a vector, for example, x = [4, 4, 5, 5, 5, 6, 7, 7，8, 8, 8, 8] Now we want to get the following two ve...

2 years ago

Solved

Vertical matrix sort
Given a matrix x with n rows and m columns, return a matrix y with 2n rows and m columns, such that every column in x is sorted ...

2 years ago