Community Profile

# Ramon Villamangca

Last seen: 16 days ago Active since 2018

Learner and Math Enthusiast

Programming Languages:
C++, C, Javascript, MATLAB, Assembly
Spoken Languages:
English

All

#### Content Feed

View by

Solved

Classify product/digit-sum sequences
Cody Problem 53120 involved a sequence in which a term is computed by multiplying the previous two terms and adding the digits o...

3 months ago

Solved

CARDS PROBLEM
Read my mind and tell me the card number that I have now in my hands.

4 months ago

Solved

You are joining the MATLAB Central platform to solve a question on Cody. The signup page requires you to input an id and a passw...

4 months ago

Solved

Create a Multiplication table matrix...
Create a product table in this format: P = [ 1 2 3 4 5; 2 4 6 8 10; 3 6 9 12 15; 4 8 12 1...

4 months ago

Solved

Calculating the total earnings of a factory
The row vector, prods contains the number of various products manufactured per hour. The second row vector, prices holds values ...

4 months ago

Solved

~(*|/)
Return three quarters of n without using addition, subtraction, multiplication or division.

4 months ago

Solved

Fraction of a fraction of a ...
One sort of brainteaser problem is a math problem wherein you are asked what the given fraction of a fraction of a ... number is...

4 months ago

Solved

String math
You will be given a string that describes a simple math equation. Your job is to determine if the value of the equation is equal...

4 months ago

Problem

Easy Sequences 67: Project Euler Problem 1 - Not Again!!!
You know the drill... Given two integers and , with , find the sum of all positive integers below , that are multiples of any ...

4 months ago | 2 | 2 solvers

Solved

Mean ignoring NaNs
Define a function that behaves in the same way as mean(x) and mean(x,d) except that it ignores NaNs (unless all of the values be...

4 months ago

Solved

Perl 4: unshift
_This is part of a series of perl function which were very helpful for many perl programmers. Could you implement it in Matlab?_...

4 months ago

Solved

Sum of all the divisors of n

4 months ago

Solved

Big Integer Sqrt
You will be given a big integer, you should return the square root of it. input: '16' output: '4' have fun!

4 months ago

Solved

Replace pattern 0 1 0 and 1 0 1
Find and replace a pattern in a row of zeroes and ones. * Find 1 0 1 and replace it with 1 1 1 * Find 0 1 0 and replace it w...

4 months ago

Solved

Repeat the entries of the vector to their reference times in the vector.
e.g for input x: [ 7 3 9 5] output y: [ 7 3 3 9 9 9 5 5 5 5]

4 months ago

Solved

determine the sum of decimal part for given matrix
determine the sum of fraction part for the given matrix

4 months ago

Solved

you are given a vector x. you have to make an output vector y with zeros padded between every adjacent values of x. e.g x: ...

4 months ago

Solved

Find unique number in input
Find value that occurs in odd number of input elements.

4 months ago

Solved

Free-time Equation
Given a 7-day week, an *_nc_* -number of *_tc_* -hour classes, *_ta_* -hours awake in a day, and *_tw_* -hours that you work in ...

4 months ago

Solved

Determine Fundamental Solution of Pell Equation
Given, a positive value (d), determine the fundamental solution [x, y] of the Pell equation: x^2 - d*y^2 = 1. Provide character...

4 months ago

Solved

Time reverse indices
Time reverse the index values as follows IndexIn = [7 1 0] IndexOut = [7 6 0] Note that the indices are zero based and so...

4 months ago

Solved

Combine complex conjugates first when computing the product of vector
Analytically, the product of complex conjugates yields a real result. When numerically computing the product of a vector contai...

4 months ago

Solved

User defined nextpow function
Create a function which will take 2 arguments as n and x, and return y, where, n^y >= abs(x). [ Similar to builtin "nextpow2" fu...

4 months ago

Solved

Max Change in Consecutive Elements
If an array is given as input then find the index of consecutive elements that represent maximum change. Example: Input ...

4 months ago

Problem

Easy Sequences 66: Fractional Part of Sum of Consecutive Powers over a Prime
Given three postive integers, , and , create the function , defined as follows: Where is the th prime and the s...

4 months ago | 1 | 2 solvers

Solved

Sum of two number using (regexp, varargin) comand?
Sum two number a &b and get there result in c using the rexp and varargin comand.

4 months ago

Problem

Easy Sequences 65: Fractional Part of Square Roots
The fractional part function of a positive real number , denoted as , is defined as: , where , is the 'floor' of . Thus, , and ...

4 months ago | 0 | 2 solvers

Solved

Negation the hard way
Write a function that has the following property: f(f(x)) = -x for any numeric array x. Note that there is no restriction on ...

4 months ago