Community Profile

# Karl Ezra Pilario

### University of the Philippines - Diliman

1,778 2017 이후 총 참여 횟수

Assistant Professor at the University of the Philippines - Diliman, Department of Chemical Engineering; Ph.D. in Energy and Power (2020) from Cranfield University, U.K.; Research Interests: process data analytics, process systems engineering, applications of machine learning to chemical and process engineering.

#### Karl Ezra Pilario's 배지

모두 보기

참여 게시물
보기 기준

해결됨

Leftovers? Again?!
I am thinking of a positive number X. To determine what number I am thinking of, I will give you two 1xN vectors. The first ve...

1일 전

해결됨

~~~~~~~ WAVE ~~~~~~~~~
|The WAVE generator| Once upon a time there was a river. 'Sum' was passing by the river. He saw the water of the river that w...

1일 전

제출됨

Minimizing the Himmelblau Function using GA and PSO
Genetic algorithm (GA) and Particle Swarm Optimization (PSO) for minimizing a multi-modal function

3달 전 | 다운로드 수: 7 |

해결됨

Pattern Sum
Write a function which receives two single digit positive integers, (k and m) as parameters and calculates the total sum as: k...

5달 전

해결됨

Calculator spelling - Numbers to Letters
Using the numbers on a calculator, and rotating the display 180 degrees, many words can be spelled. In particular, the following...

6달 전

해결됨

Mo money, mo math #2! (adapted from Prob 9 Cody team)
You have a matrix for which each row is a person and the columns represent the number of quarters, dimes, nickels and pennies th...

6달 전

해결됨

Approximate functions 1
Compute the following sum for any given x and positive integer n. <<https://i.imgur.com/eUwXdSE.gif>> <> Here m! denote...

6달 전

해결됨

Prime number check
One way to see if a number x is prime is to compute the remainders obtained when dividing x by all integers from 2 to √(x). If x...

6달 전

해결됨

Function 1
Compute the value of <<https://i.imgur.com/AxKWLmE.gif>> for any given positive x.

6달 전

해결됨

Sum of terms in a series 1
Given x and n, compute the following sum: |x|+|x|^(1/2)+|x|^(1/3)+|x|^(1/4)+|x|^(1/5) ... + |x|^(1/n) where ||x|| indica...

6달 전

해결됨

Mo money, mo math! (adapted from Prob 9 Cody team)
You have a vector where the elements represent the number of \$20 bills, \$10 bills, \$5 bills, \$1 bills, quarters, dimes, nickels,...

6달 전

해결됨

My Problem, Find the square of the horizontal concatenation of the third and fifth elements of a vector.
given the 1x5 vector x, y must be the square of the horizontal concatenation of the third and fifth elements. So, if x = [1 1 1 ...

6달 전

해결됨

Beauty of Parentheses
Given a string consisting of closed parentheses, form a string array in the following way so that the orders of these parenthese...

6달 전

해결됨

Mongean Shuffle
A Mongean shuffle of an n card deck starts with putting the initial deck on the left hand side. * The top card of the deck is...

6달 전

해결됨

Make a Plot with Functions
Make a plot and test

6달 전

해결됨

Look Up Mapping
Let the input is A = {[] [] [] [1] []}; B = {'A','B','C','D','E'}; Mapped Output = 'D';

6달 전

해결됨

Assignment Problem
Given a matrix where row i corresponds to person i, and column j corresponds to task j and cell (i,j) corresponds to the time ta...

6달 전

해결됨

generate number in particular way
A = [1 5 2 7]; MAX = 10; generate a array Y = [1 2 2 2 2 2 3 3 4 4]; i.e. total eleme...

6달 전

해결됨

Find last non-zero in a given dimension
You are given a logical matrix *BW* _of any dimension_, and a dimension *dim*. You need to find the locations of the last non-ze...

6달 전

해결됨

Check if a rotated array was originally sorted
Suppose a sorted array is rotated at some pivot unknown to you. For example, |[0 1 2 4 5 6 7]| might become |[5 6 7 0 1 2 4]|. ...

6달 전

해결됨

Weave two matrices together to form one matrix
Take the first column from matrix a, then insert the first column from matrix b, and so on. For example: a = [1 2 3 4]; b ...

6달 전

해결됨

S-T-R-E-T-C-H I-T O-U-T
You will be given a row of numbers (x), and a single number (n). Your job is to write a script that will stretch out the row of...

6달 전

해결됨

Sorting integers by their digits (Level 4)
This is the next step up from <http://www.mathworks.com/matlabcentral/cody/problems/42815-sorting-integers-by-their-digits-level...

6달 전

해결됨

Sorting integers by their digits (Level 3)
This is the next step up from <http://www.mathworks.com/matlabcentral/cody/problems/42811-sorting-integers-by-their-digits-level...

6달 전

해결됨

Sorting integers by their digits (Level 2)
This is the next step up from <http://www.mathworks.com/matlabcentral/cody/problems/42809-sorting-integers-by-their-digits Probl...

6달 전

해결됨

Sorting integers by their digits (Level 1)
Given a vector, v, of positive integers, return a vector, w, by sorting v in ascending order, such that primary sorting is done ...

6달 전

해결됨

When using logical indexing into an array, MATLAB returns a vector output. For example, if A = magic(3); mask = logi...

6달 전

해결됨

Aufbau principle
Given the order e=[1s, 2s, 2p, 3s, 3p, 4s, 3d, 4p, 5s, 4d, 5p, 6s, 4f, 5d, 6p, 7s, 5f, 6d, 7p], find a vector x with these condi...

6달 전

해결됨

Given a number N, find the smallest prime P>N
Given a number N, find the smallest prime P greater than N. For example: If N=10 then P=11. If N=13 then P=17.

6달 전

해결됨

The End of the World
given a date -- represent it in the Maya long count system. <https://en.wikipedia.org/wiki/Maya_calendar> <https://maya.nm...

6달 전