Community Profile

photo

Rafael Hernandez-Walls


1.101 total contributions since 2010

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

Contact

Rafael Hernandez-Walls's Badges

  • Project Euler I
  • Cody Problems in Japanese Master
  • Draw Letters
  • Revival Level 1
  • 3 Month Streak
  • Leader
  • Scholar
  • Promoter
  • Creator
  • Knowledgeable Level 1
  • First Answer
  • CUP Challenge Master
  • Commenter
  • Scavenger Finisher
  • Solver

View details...

Contributions in
View by

Solved


Add 3 numbers
In this problem, you have to add three numbers a, b and c. Give output d = add(a,b,c)

6 mesi ago

Solved


Angle between two vectors
Given 2 pairs of _cartesian co-ordinates_, determine the angle between the 2 vectors formed by the _points_ and the _origin_. An...

6 mesi ago

Solved


UICBioE240 problem 1.7
Find the other two angles of a right triangle given the two of the sides. So if A = [1 1] B = [45 45]

7 mesi ago

Solved


Kepler's Equation
Solve <http://en.wikipedia.org/wiki/Kepler's_equation Kepler's Equation>. Note that the solution is rounded down to 5 decima...

7 mesi ago

Solved


Sum of diagonals elements of a matrix
Given a matrix, return the sum of all the elements across the diagonals. E.g. A = [1 2 3; 4 5 6; 7 8 9;...

8 mesi ago

Solved


Set x value to each odd index of vector y.
Set x value to each odd index of vector y.

8 mesi ago

Solved


Scalar Matrix Manipulation
Assume, input x is a scalar matrix such as, x = 2 0 0 0 2 0 0 0 2 th...

9 mesi ago

Solved


Vector LCM
* Find Least Common Multiple of a given vector. * Need general solution as the test suite will be expanded. * Function Templa...

9 mesi ago

Solved


Are you in XY plane?
Take a point P as an input position Vector (x,y,z). If you are in XY plane, return 1 as an output otherwise return 0. Example...

9 mesi ago

Solved


Gauss Eliminate 2-by-2 example
Use forward elimination to make the coefficient matrix, A, an upper triangular matrix, and then solve using back substitution, f...

9 mesi ago

Solved


Repeat Vector Values an Arbitrary Number of Times
Given two vectors of the same size, repeat the values of the first vector the number of times given in a second vector. For exam...

10 mesi ago

Solved


Number Power
Raise a number to itself.

10 mesi ago

Solved


Cube root of max value in a vector
Find the cube root of the maximum value in a vector

10 mesi ago

Solved


Testing Problem Creation
This is where MATLAB based question will be

10 mesi ago

Solved


Determine the number of correct and incorrect answers
In a Multiple Choice Question Test, you are to sort out answer from 4 samples, one of them is correct answer. There are 50 quest...

10 mesi ago

Solved


Basic matrix operations using standard MATLAB commands
Create the matrix: 1.0e+15 * 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000...

10 mesi ago

Solved


Nth root of a number
Given an input and a number N, find the Nth root of the number(s)

10 mesi ago

Solved


Archimedes principle
According to Archimedes principle, the buoyancy force is equal to the weight of fluid displaced by the submerged portion of an o...

10 mesi ago

Solved


Non trivial identities - reshape
Return x by reshaping it.

10 mesi ago

Solved


Find the outlier in a set of samples
Given an array x of numbers. Assumed that this array has one outlier. Find the position p and the value v of the outlier in this...

10 mesi ago

Solved


Non trivial identities - flipping
Return x by flipping it.

10 mesi ago

Solved


basic matrix operations: rotate and find sum of diagonal elements of the resultant matrix
For given input matrix a, rotate it by 90 degrees and find the sum of the diagonals. Example: Input: a = 1 ...

10 mesi ago

Solved


Reverse the Matrix
Given a Matrix A, reverse it. Such that, last element of A becomes 1st and vice versa. for example: Input = [1 2 3;4 5 ...

10 mesi ago

Solved


find number of times of occurrence of the most frequent number in a row vector
In a given row vector, find the number of times a mode of a row vector has occurred example: in [2 5 5 5 5 3], output is 4 ...

10 mesi ago

Solved


Non trivial identities - summation
Return x by adding a random number to it.

10 mesi ago

Solved


Second Diagonal
Transpose the matrix from it's second diagonal.

10 mesi ago

Solved


find the 'M'
for an input x, return 1 at the location of the letter 'M'

10 mesi ago

Solved


surface of parallelogram
Given 2 vectors of each 3 elements, determine the surface of the parallelogram which can be created from these 2 vectors.

10 mesi ago

Solved


Xor of matrix
you have to set exclusive OR of two arrays

10 mesi ago

Solved


Sum two real numbers
It seems easy, but... You cannot use +, -, plus, diff, cumsum, *, prod, times, etc.

10 mesi ago

Load more