Community Profile # Ramon Villamangca

Last seen: Today Active since 2018

Learner and Math Enthusiast

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

#### Statistics

All
• • • • • • • • • • • • #### Content Feed

View by

Solved

Return median of a matrix
Compute median of a matrix of any dimension. Exclude the NaNs if any.

alrededor de 4 horas ago

Solved

The answer to life the universe and everything
Write a function that gives the answer to life the universe and everything to every input except the input is 42. In this case t...

alrededor de 4 horas ago

Solved

Sum of diagonals
Compute the sum of diagonal elements of a square matrix and store the larger sum to s. Eg : a = [1 2 3; 2 3 4; 4 5 10] ...

alrededor de 4 horas ago

Solved

Outlier number!
Find a number which has maximum distance from the mean value of vector A. Example: A=[5 2 1 5 6 2 5 9] y=9

alrededor de 4 horas ago

Solved

Prime numbers between a , b.
Find all prime number between a & b (including a and b). example: a=100 b=120 y= [101 103 107 109 113]

alrededor de 4 horas ago

Solved

Find all repeated numbers
For a given vector, find all numbers that repeated 2 times or more than 2 times. Example: A=[1 2 3 3 4 5 6 6 7] y=[3 ...

alrededor de 4 horas ago

Solved

Basics: counting digits of a number irrespective of the sign
publish the number of digits in any input integer example: -23---->2

alrededor de 4 horas ago

Solved

convert the number to binary format & count digits
Convert the given number to the corresponding binary format and count the number of digits in that binary number

alrededor de 4 horas ago

Solved

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

alrededor de 4 horas ago

Solved

Remove white spaces at the end of the input string
Remove all trailing white spaces at the end of the input strings

alrededor de 4 horas ago

Solved

Check if there are white spaces in the input string
If there are white spaces in the input string, output=1 else 0

alrededor de 4 horas ago

Solved

Percentage of zeros in a matrix of only 1s and 0s
Write a function called _zero_stat_ that takes a matrix as an input that only has 0 and 1 elements. The function needs to comput...

alrededor de 4 horas ago

Solved

Create the equation: y=(3x)^2+(5x)+35 and compute y for various values of x

alrededor de 4 horas ago

Solved

Perfect square.
Determine if the input is a perfect square or not. Example - If input is 25, return 1. If input is 17, return 0.

alrededor de 4 horas ago

Solved

Number Power
Raise a number to itself.

alrededor de 5 horas ago

Solved

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

alrededor de 5 horas ago

Solved

Find the complement of a number in binary
Input x is a decimal number and output y is the complement of binary representation of x. For example, x = 10 has the binary ...

alrededor de 5 horas ago

Solved

Given consecutive numbers, add the numbers *without using the sum command in MATLAB.*

alrededor de 5 horas ago

Solved

Calculate the square of a number (Super Easy)
The goal is to calculate the square (y) of a number (x). Good way to start MatLab for beginners.

alrededor de 5 horas ago

Solved

Mean number of letters per word (Easy)
Given a character array, s, representing a sentence, return a, the arithmetic mean of the number of letters per word in the give...

alrededor de 5 horas ago

Solved

SAY 'OHYEAH'
Regardless of input, output the string 'OHYEAH'.

alrededor de 5 horas ago

Solved

Permutation Via Multiplication
Given two numbers a and b, determine if the product ab is a permutation of the digits of a. For example, this is always true for...

alrededor de 5 horas ago

Solved

Get the mean digit
Write a function that gives the mean digit (round towards nearest integer) of an input and positive number. For example: x ...

alrededor de 5 horas ago

Solved

Sum of a geometric series
Give the sum of the first 'n' terms of a geometric series, given 'a' as the first term and 'r' as the ratio.

alrededor de 6 horas ago

Solved

Ratio between sums of prime and non-prime numbers
Write a function that calculates the ratio between the sum of the prime numbers lower or equal than x, and the sum of the non-pr...

alrededor de 6 horas ago

Solved

Find square of given number
Find Square of any number

alrededor de 6 horas ago

Solved

Square root of number
Square root of given number.

alrededor de 6 horas ago

Solved

Sum Sum Sum!
Calculate the sum of the natural numbers from 1 to n

alrededor de 6 horas ago

Solved

Sum sum!!!
Sum the numbers from 1 to n

alrededor de 6 horas ago

Solved

easy problem
Find the last element of the array

alrededor de 6 horas ago