Solved

How to get the additive inverse of a uint8.

Given x as a uint8 find the additive inverse y.

5 years ago

Solved

Reference Index Number

Given a reference set R of elements (each unique but identical in type), and a list V of elements drawn from the set R, possibly...

5 years ago

Solved

Guess

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

5 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...

5 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 ...

5 years ago

Solved

Solving Quadratic Equations (Version 2)

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

5 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' ...

5 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 ...

5 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 ...

5 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...

5 years ago

Solved

find square root of a positive real number

a number given, find the square root of that number

5 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...

5 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...

5 years ago

Solved

most frequent character

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

5 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 ...

5 years ago

Solved

find the relation...

if given input is 1, output is 4. if input is 55, output is 3136.

5 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...

5 years ago

Solved

Integer Sequence - 1

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

5 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...

5 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: * ...

5 years ago