Community Profile # Karl Ezra Pilario

### University of the Philippines - Diliman

Last seen: Today Active since 2017

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

Programming Languages:
MATLAB
Spoken Languages:
English

#### Statistics

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

View by

Solved

Draw matrix 'Swiss flag'( Euro 2020)
Draw a x-by-x matrix 'Swiss flag' using '0' and '1'.(x is odd and bigger than 4) Example x=5 ...

environ un mois ago

Solved

Draw a x-by-x matrix British flag (Euro 2020)
Draw a x-by-x matrix 'British flag' using '0' and '1'.(x is odd and bigger than 4) x = 5 answer = [0 0 1 0 0 ...

environ un mois ago

Solved

remove numbers from a string
check the given string for any numbers.in case one is found,remove it.but the two portions should be separated. if more than one...

environ un mois ago

Solved

Draw a x-by-x matrix 'Denmark flag'(Euro(2020)
Draw a x-by-x matrix 'Denmark flag' using '4' and '1'.(x is odd and bigger than 4) Number 4: Caption S.Kjær and number 1: K.S...

environ un mois ago

Solved

Matrix Indexing
Given a matrix A and scalars r,c,i, find the product of two elements, with the first element located at row r and column c (doub...

environ un mois ago

Solved

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

environ un mois ago

Solved

Angular Velocity

environ un mois ago

Solved

Period of a pendulum

environ un mois ago

Solved

Upper case and lower case!

environ un mois ago

Solved

Volume of Cylindrical Shell

environ un mois ago

Solved

Area of Cylindrical Shell

environ un mois ago

Solved

balance vector
Given a non-empty vector x with integer elements. x shall be called balance vector if one can split the elements of x into two g...

environ un mois ago

Solved

Map all the indices of an Array Indices into a Vector giving Index vs Row and Column
Create an array of the row and column values for the indices of an array. This is typically performed using [r c]=ind2sub(siz...

environ un mois ago

Solved

Find the missing numbers.
Total *N* numbers are in the series of natural numbers ( *1,2,3,...,N* ). The input is an array (unsorted) of those natural num...

environ un mois ago

Solved

The other half of the Fibonacci sequence
The <http://mathworld.wolfram.com/FibonacciNumber.html "Fibonacci sequence"> — F = [1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144,...

environ 2 mois ago

Solved

The twelve days of Christmas
Traditionally there are twelve days of Christmas to celebrate ("Twelvetide"), typically starting with Christmas Day (25 December...

environ 2 mois ago

Solved

short or buy ? take the opportunity
you had already calculated a theoretical stock value, now you checked in bloomberg the quoted price of that stock and you have t...

environ 2 mois ago

Solved

Counting Squares
An algorithm starts with a single square and on each of its next iterations adds new squares all around the outside as shown bel...

environ 2 mois ago

Solved

tetration

environ 2 mois ago

Solved

Calculate time taken by light to reach earth surface
We know the time(seconds) taken by light to reach surface of earth. What if the distance varies yearly or source of light moves ...

environ 2 mois ago

Solved

Say type of roots in quadratic equation
Given the coefficients of a quadratic equation, write a function that gives the output y='RealDifferent' if the roots are real a...

environ 2 mois ago

Solved

Alternating 1´s and 0´s in a matrix
Given an odd number n, write a function that creates a matrix y with dimension nxn alternating 1's and 0's, and starting with 1 ...

environ 2 mois 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 ...

environ 2 mois ago

Solved

Alternate list of elements
Write a function that combines two lists by alternating the elements, e.g. ['a','b','c'], ['1','2','3'] → 'a1b2c3'.

environ 2 mois ago

Solved

Find argmax of a function
You are given vectors x and y (=f(x)). Return the element of x for which f(x) is maximized.

environ 2 mois ago

Solved

Calculate the volume of a cone
Calculate the volume of a cone given an array containing one column of radii and one column of the height of the cone. * Reme...

environ 2 mois ago

Solved

Find The Difference
Vector x is given.calculate the difference between the biggest and the smallest number that we can create from elements of x. f...

environ 2 mois ago

Solved

Distance Between Points
Being n the number of points (If n = 3 there would be 3 points: A, B and C). The distance between each pair of points increases...

environ 2 mois ago

Solved

Find the area of a triangle having vertices (A,B), (C,D), and (E,F)
Find the area of a triangle using if we have the three vertices of the triangle

environ 2 mois ago

Solved

Hoax Numbers
A Hoax Number (OEIS A019506) is defined as a composite number, whose sum of digits is equal to the sum of digits of its distinct...

environ 2 mois ago