Community Profile

# Karl Ezra Pilario

### University of the Philippines - Diliman

2,168 2017 이후 총 참여 횟수

Assistant Professor, University of the Philippines - Diliman, Department of Chemical Engineering. Research Interests: process data analytics, process systems engineering, machine learning.

#### Karl Ezra Pilario's 배지

모두 보기

참여 게시물
보기 기준

해결됨

Find Sign(Zero Crossing) Changes in Array
Example; A = [1 2 3 -3 -4 -1 -24 2 4 -1 -2 3 1]; ans; [1 2 0 -3 -4 -1 0 2 0 -1 ...

3일 전

해결됨

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

3일 전

해결됨

Weighted moving average
x1=[1 2 1]; y1=[1 2 2 4 5 6 6 8]; Make function for weighted moving average. z(i)=(x1(i)*y1(i)+x1(i+1)*y1(i+1)+x1(i+2)*y1...

3일 전

해결됨

Find the minimum element of the matrix
Example: If x = [3 9; 5 2] then y = 2

3일 전

해결됨

means
Calculate the arithmetic, the geometric and the harmonic mean of a given vector (with positive elements) and return them in a ve...

3일 전

해결됨

x is a vector of votes, e.g. x=[1 2 3 2 2 1 3 2 1 2 2 2 2], who is the winner? 1,2,3?

3일 전

해결됨

How to get the additive inverse of a uint8.
Given x as a uint8 find the additive inverse y.

3일 전

해결됨

Convert Fahrenheit to Kelvin
Convert the value f in Fahrenheit to Kelvin

3일 전

해결됨

Calculate mean value of any pair in a vector.
Given a vector A, calculate the mean of 2 number in the vector one by one. example: input: A=[1, 5, 6, 8, 9, 15] output:...

3일 전

해결됨

polar inertia
given locations of a set of unit masses on complex plane, find polar moment of inerta about the origin. for example output 4 if ...

3일 전

해결됨

normalize group of numbers to integers
Hi guys! I have a group of 4 numbers x,y,z,w which comes from 4 integers multiplied with a common factor. [x,y,z,w] = c [i,j,k,...

3일 전

해결됨

Make combination of two given matrices.
Make a combination of the two given matrices as a given example. Example: input1 = [1 2 3; 4 5 6]; input2 = [7 8; 9 10...

3일 전

해결됨

Sideways sum
Given natural number calculate its _population count_.

3일 전

해결됨

Electric Flux
Calculate the flux passing through a surface. E is electric field, A is area.

3일 전

해결됨

Removing vibration!
There are [y] that vary with [x] but y including small useless vibration. x=1:10 y=[1.71 2.03 3.28 4.05 5.10 6.82 7.69 8.3...

3일 전

해결됨

Analyze observation data
Suppose you have the following data (A,B,C) in three-column format. A B C -------------------------- t=1 ...

3일 전

해결됨

Component area
Find the area of the component below, all measurements are in mm <<https://image.ibb.co/hocruF/Component.png>>

3일 전

해결됨

Calculating Ring Area
In two-dimensional space, a ring can be constructed by using two concentric circles. Determine the area of a ring which has r1 ...

3일 전

해결됨

Filter values in a vector
Cody often benefits from a functional style of programming. For example, your score is often better when you compose multiple fu...

3일 전

해결됨

Do you have the minimum age?

5일 전

해결됨

Find Missing Number
A little problem (inspired by CodeChef) for the coffee break. A friend give you an array of size n-1 integers and these int...

5일 전

해결됨

The last non-zero digit of a factorial
For given positive integer n, what is the last non-zero digit of n!? Example: factorial(11) = 39916800 Last non-zero d...

5일 전

해결됨

Modulation index
The amplitude of the carrier signal is 2V and the amplitude of the modulating signal is 8V. Find its modulation index.

5일 전

해결됨

Rotate counterclockwise a matrix 90 deg with left-bottom element
Example: Input [ 1 2 3 4 5 6 ] Output [ 3 6 2 5 1 4 ]

5일 전

해결됨

Simple problem creating a function from an abstract specification.
MYSTERYFUNCTION3 This takes a vector of numbers v and computes a vector w such the w[i] is the average of v[i] and the previous...

5일 전

해결됨

Person of interest?
given a person_of_interest, what is his_name?

5일 전

해결됨

Remove all the columns contains only zero
Remove the column from the matrix which has only zeros . Refer the Example below a= 1 0 3 0 23 0 56 0 1 ...

8일 전

해결됨

Finding two missing number in 1 to n array
You are given an array of numbers from 1 to n with two missing numbers. Return the two missing numbers. Input: x=[5 2 0 1 ...

8일 전

해결됨

Find parts of a circle.
Given radius (r) of a circle find the diameter (d), circumference (c), an area (a).

8일 전