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.

Solved

Volume of Cylinder

Compute the Circumference of a Cylinder given it's radius and height.Here x is the radius and y is the height

1 day ago

Solved

Find the biggest digit in a matrix

Write a function to find the biggest digit in a matrix; input -> a matrix output -> a digit For example; [12; 47;...

1 day ago

Solved

Second smallest number

What is the second smallest number in x? example: x = [1 2 3 4 5 6 7 8 9] y = 2

1 day ago

Solved

Throw common elements of two vector arrays in sorted manner

Throw common elements as output in sorted manner (acending order) of two given input vector arrays

1 day ago

Solved

Number Persistence

A number's persistence is the number of steps required to reduce it to a single digit by multiplying all its digits to obtain a ...

1 day ago

Solved

Matrix diagonalization

You will be given Two matrices A and B. Return 1 if B is the diagonal matrix of A, 0 otherwise

1 day ago

Solved

length of string on cylinder

A cylinder H cm high has a circumference of C cm. A string makes exactly N complete turns round the cylinder while its two ends ...

1 day ago

Solved

Integer Sequence - 1

Check the test suite to determine the relationship between input integer scalar and output integer scalar.

1 day ago

Solved

intervals

Write a function that takes an interval from a to b, and divides it into 6 parts.

1 day ago

Solved

Uniform binary crossover

Given two binary vectors, return the two children by combining the genes of them using a binary crossover mask. More informat...

1 day ago

Solved

"Power matrix" of two vectors

Given two row vectors x,y of lengths m and n (respectively), create an m x n matrix whose i,j entry is x(i)^y(j).

1 day ago

Solved

Perl 3: shift

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

1 day ago

Solved

Calculate the sum of two polynomials

Calculate the sum of two polynomials if they are written in notation with their coefficients. example: a=[3 4 5]; b=[...

1 day ago

Solved

Find the nearest prime

Given a positive integer 'n', the task is to find a prime number greater than or equal to 'n'. Example 1 If given 'n' is ...

3 days ago

Solved

Sum of logarithms

Given a vector, v, of real positive numbers, compute the sum, s, of the base-10 logarithms of the elements of v, without the use...

3 days ago

Solved

Find max prime number

Given integer number n. Find the max prime number (mpn) that smaller than or equal to n. Example: n = 10 --> mpn = 7

3 days ago

Solved

Find the number that has most primes those less than it

Given an vector x of integer numbers, find the element of x that has the most primes less than it.

3 days ago

Solved

Usage of varargout

This Challenge is to demonstrate usage of varargout. Output a cell array using varargout of magic squares of size 1 thru n. ...

3 days ago

Solved

How to multiply?

* Imagine you are in 3012 Anno Domini, when everyone must learn how to multiply, * and competing for the highly prestigious pos...

8 days ago

Solved

How to add?

* Imagine you are in 2222 Anno Domini, when everyone must learn how to add, * and competing for the highly prestigious post of,...

8 days ago

Solved

Solving Quadratic Equations (Version 2)

Before attempting this problem, solve version 1: <https://www.mathworks.com/matlabcentral/cody/problems/2510-solving-quadratic-...

8 days ago

Solved

Perl 2: pop

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

8 days ago

Solved

Infinite precision division

Develop a function that will divide a very very large integer numerator, supplied to function as a string (e.g., '12233344445555...

9 days ago

Solved

Array ex-OR

There are in MATLAB logical functions such as _<http://www.mathworks.co.uk/help/matlab/ref/and.html and>,_ _<http://www.math...

9 days ago

Solved

Please check the last row

We have data of matrix, that is input. That contains 2 or more rows and the last row should contain the average of each column,...

9 days ago

Solved

Perl 1: push

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

9 days ago

Solved

The Birthday Phenomenon

First off, leap years are not being considered for this. In fact the year that people are born shouldn't be taken into considera...

9 days ago