Solved

Guess
A random number between 1 and 10 is created for the variable y. Guess what its value is.

6 years ago

Solved

Baseball Pitch Question
One pitcher made 10 practice pitches during his warm up before the game. Using the given information, create a vector matrix an...

6 years ago

Solved

Do operation as per given string
Do operation as per given string Example: '3*5' then answer must be 15; '3+5' then answer must be 8; '35' then answer ...

6 years ago

Solved

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

6 years ago

Solved

Case-insensitive Character Detection
Find the index of a particular character in a string ignoring case. Example Input: x = 'aAbhhfdf' n = 'a' ...

6 years ago

Solved

If you have matrix A, create matrix B using matrix A as an "element"
A = [1 2 3 4; 5 6 7 8] B = [1 2 3 4 1 2 3 4; 5 6 ...

6 years ago

Solved

COUNT LETTERS
Count the number of letters in a given string. For Example: STR='The MAtlAb code'; output:T 2 H 1 E 2 M 1 A 2 L 1 B 1 C ...

6 years ago

Solved

Find files with extension ext in the current directory
List all files with extension 'ext' in the current directory. Return a char matrix with the name of files in rows. Return 0 if...

6 years ago

Solved

first element of matrix
find the first elements of a column matrix

6 years ago

Solved

find square root of a positive real number
a number given, find the square root of that number

6 years ago

Solved

Find qube root
Find the quberoot of 27

6 years ago

Solved

Find remainder when x is divided by 3
Find remainder when x is divided by 3

6 years ago

Solved

find max
You are given an array number find the maximum

6 years ago

Solved

find minimum
find the minimum from an array

6 years ago

Solved

Find subtraction
Given a, b. Find a-b

6 years ago

Solved

Find mean
given an array, find the mean of the number in that array

6 years ago

Solved

Unit conversion
Convert x degree Celsius to y degree Fahrenheit.

6 years ago

Solved

Square root of a number
Write a code that will output the square root of x.

6 years ago

Solved

find sum of the numbers in array
calculate the sum of numbers in a given array

6 years ago

Solved

Find last zero for each column
Given a numeric array of arbitrary size, return the row index of the last zero for each column. If a column contains all nonzero...

6 years ago

Solved

Change the sign
Given a matrix x, return one with each diagonal element replaced by its absolute value and the largest element in absolute value...

6 years ago

Solved

most frequent character
Obtain most frequent character Let s='balaram'; output='a';

6 years ago

Solved

Index of a Rational number
The set of real numbers are infinite. They are so many that real numbers can't even be enumerated. However, unlike real numbers ...

6 years ago

Solved

find the relation...
if given input is 1, output is 4. if input is 55, output is 3136.

6 years ago

Solved

Right Triangle Side Lengths (Inspired by Project Euler Problem 39)
If _p_ is the perimeter of a right angle triangle with integral length sides, { _a_, _b_, _c_ }, there are exactly three solutio...

6 years ago

Solved

Integer Sequence - 1
Check the test suite to determine the relationship between input integer scalar and output integer scalar.

6 years ago

Solved

Find names/words that start and end with the same letter.
Find names/words (from a string) that start and end with the same letter. * Case-insensitive. * If a name/word is not at the...

6 years ago

Solved

Non-zero bits in 10^n.
Given an integer that is a power of 10, find the number of non-zero bits, k, in its binary representation. For example: * ...

6 years ago

Solved

2D - Mean Filter
Assume you are given an "image" matrix of size NxM. Reduce the image noise by implementing a mean filter window of size 9 (a 3x3...

6 years ago

Solved

Decimation
When dealing to the Roman Army, the term decimate meant that the entire unit would be broken up into groups of ten soldiers, and...

6 years ago