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

Solved

solve for y that is half as much as three less than one tenth of x

function y = half(x) y = (x * .1); end

etwa 15 Stunden ago

Solved

mathematics , probability problem

How many different result can we have, rolling k dice?

ein Tag ago

Solved

Strange Number Algorithms

Three integer numbers will be provided to you. Write a function to Step1: Multiply first number by 3. Step2: Add 6 with t...

ein Tag ago

Solved

Mmm! Multi-dimensional Matrix Multiplication

You have got a couple of multi-dimensional matrices, A and B. And want to multiply them. For the first 2 dimensions, an ordinary...

3 Tage ago

Solved

Temperature Conversion Utility (Strings)

This is a follow-on problem to <http://www.mathworks.com/matlabcentral/cody/problems/2413-temperature-conversion-utility Problem...

3 Tage ago

Solved

Temperature Conversion Utility

There are a few problems on Cody regarding temperature conversion (C to K, C to F, F to C), but none include Rankine. Furthermor...

3 Tage ago

Solved

Closely related?

Given a function past_records() that will report blood sugar level of two twin brothers some random number of days ago. For exam...

4 Tage ago

Solved

Matlab Basics II - 3 Dimensional Arrays

Assume x is a 3D array with n pages, representing students in a class, for each student (page in the array, the 3rd dimension), ...

4 Tage 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...

4 Tage ago

Solved

Muphry's Law of MATLAB

You're running some simple multiplication problems through MATLAB for error checking purposes, but nothing seems to come up with...

4 Tage ago

Solved

All odd - all even

All odd numbers in x are added, while all even numers are subtracted from this. example: x = [1 2 3 4 5]; y = +(1+3+5)-...

4 Tage ago

Solved

iteration of N blank spot

we have N spot which can be blank o filled calculate the number of iteration for these spots. e.g. N=2 1- blank blank 2- bl...

4 Tage ago

Solved

find "greatest common divisor" of two integer value

A function to find Greatest Common Divisor of two integer input E.G. x=-18 y=96 output should be +6 x=-18; y=96; >>your...

4 Tage ago

Solved

Pluralization

Define function plu(n) that returns '' (an empty string) if n=1, or 's' otherwise. This is handy for displaying messages from a...

4 Tage ago

Solved

Check if integer

Given a vector of elements, determine if each element is an integer and return true or false accordingly.

4 Tage ago

Solved

Min by mean

Substitute the minimum value in each row of a matrix A by the mean of that row (it should also work if the input is a vector)

4 Tage ago

Solved

Sum of digits of powers of 2

Given n, first, calculate the number 2^n. Then, sum the digits that comprise that number. For example: Input: n = 7 2^n = ...

4 Tage ago

Solved

Chess probability

The difference in the ratings between two players serves as a predictor of the outcome of a match (the <http://en.wikipedia.org/...

4 Tage ago

Solved

Calculate Resistance 2

In this problem, you have to calculate Resistance R of a linear conductor having voltage V across it and current I is passing i...

4 Tage ago

Solved

Calculate Resistance

Calculate Resistance R of a linear conductor having resistivity p, length l and area A

4 Tage ago

Solved

Determine whether the number is multiple of 3 or not

Let a=6 and as 6 = 2*3 which means 6 is multiple of 3; return true if a is multiple of 3,otherwise false.

4 Tage ago

Solved

exactly?

given two strings of numeric expressions such as '1-7/14' and '11/22+0.2^2', return 1 if they are numerically exactly equal othe...

4 Tage ago