Community Profile

# Jaeho Seol

801 total contributions since 2016

View details...

Contributions in
View by

Solved

Pernicious Anniversary Problem
Since Cody is 5 years old, it's pernicious. A <http://rosettacode.org/wiki/Pernicious_numbers Pernicious number> is an integer w...

11 mois ago

Solved

Basic electricity in a dry situation
&#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#...

11 mois ago

Solved

Energy of a photon
*&#9883 &#9762 &#9883 &#9762 &#9883 &#9762 &#9883* Given the frequency F of a photon in giga hertz. Find energy E of this...

11 mois ago

Solved

How to subtract?
* Imagine you need to subtract a few numbers using MATLAB. * You will not be using eval for this task. * Given two ASCII strin...

plus d'un an ago

Solved

Combine the first and last names
MATLAB R2016 provides a rich set of functions to work with string arrays. In this problem, you will be given two string arrays o...

plus de 2 ans ago

Solved

How Many Months Until It's Today Again?
Given a particular date, calculate how many months must pass before that same day of the month occurs on the same day of the wee...

plus de 2 ans ago

Solved

Create incrementing array
Given a and b generate an output matrix as shown in following examples: a=2 b=5 output=[2 20 200 2000 20000] a=4 b...

plus de 2 ans ago

Solved

Find and replaces spaces from a input string with *
For a given input string str, find how many spaces are there in the string and replace those spaces with * e.g. str = 'this is ...

plus de 2 ans ago

Solved

Count decimal digits of a number
* Given an integer number you have to return the number of its digits. * For example 248 has 3 digits and 1589 has 4 digits ...

plus de 2 ans ago

Solved

UICBioE240 problem 1.12
The mathematical quantities e^x, ln x, and log x are calculated in Matlab using the expressions exp(x), log(x), and log10(x), re...

plus de 2 ans ago

Solved

Penny flipping - calculate winning probability (easy)
Two players are playing a fair penny flipping game. For each flip, the winner adds one penny from the loser's collection to his/...

plus de 2 ans ago

Solved

COUNT VOWEL
Count, how many times vowels occurred. EXAMPLE: x='string the MaTLaBiAn' then the answer will be 6. x='coUnt the vowEl' th...

plus de 2 ans ago

Solved

vector to string
Determine what the ASCII characters spell out. Example: input = [ 72 73 71 72] output = 'HIGH'

plus de 2 ans ago

Solved

square a vector-Given the variable x as your input, square it and put the result in y.
function y = (x)squared y = x; end

plus de 2 ans ago

Solved

UICBioE240 problem 1.7
Find the other two angles of a right triangle given the two of the sides. So if A = [1 1] B = [45 45]

plus de 2 ans ago

Solved

UICBioE240 problem 1.8
Given a list of grades in a class, write a script that gives the 2nd highest grade in the class and the average for the class. ...

plus de 2 ans ago

Solved

Find Index of maximum Value and maximum Value of a vector
Find the Index of the first occurrence of the maximum value in a vector and also the maximum value in the vector. Example: [...

plus de 2 ans ago

Solved

Find the position of first minimum value in an integer array with numbers
If x = [2 6 4 9 10 3 1 5 1] the the output should be 7, because the first minimum value (1) lies at the 7th position.

plus de 2 ans ago

Solved

Binary
Given a positive, integer n, create a function that returns the respective binary number in the form of a vector. Example: ...

plus de 2 ans ago

Solved

Determine if input is divisible by three.
Given a positive integer, n, determine if n is divisible by 3. If yes, the function should output true. If no, false.

plus de 2 ans ago

Solved

plus de 2 ans ago

Solved

Test Problem; Create a 5x5 array containing all ones
This is a test for learning the process of creating a Cody problem. The goal of this test problem will be to create an array,...

plus de 2 ans ago

Solved

Area of a circle
Given the radius x, y would be the area of a circle. Pi = 3.1416

plus de 2 ans ago

Solved

UICBioE240 problem 1.9
Swap the first and last columns of a matrix. So if A = [12 4 7; 5 1 4]; B = [7 4 12; 4 1 5]; ...

plus de 2 ans ago

Solved

Largest Prime Number
Given a matrix X, find the largest prime number in X.

plus de 2 ans ago

Solved

Power of n ?
Determine if _x_ (positive integer) is a power of _n_, return true or false accordingly.

plus de 2 ans ago

Solved

Transpose of matrix
Transpose of matrix as per test cases

plus de 2 ans ago

Solved

Unit conversion
Convert x degree Celsius to y degree Fahrenheit.

plus de 2 ans ago

Solved

Write a code that will follow the equation y = x * (x + x) * x.
If x = 5, y = 5 * (5+5) * 5 = 250

plus de 2 ans ago

Solved

UICBioE240 problem 1.14
Solve 3^x = 17

plus de 2 ans ago