Solved

How to get the additive inverse of a uint8.

Given x as a uint8 find the additive inverse y.

circa 6 anni 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...

circa 6 anni ago

Solved

Guess

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

circa 6 anni 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...

circa 6 anni 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 ...

circa 6 anni ago

Solved

Solving Quadratic Equations (Version 2)

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

circa 6 anni ago

Solved

Case-insensitive Character Detection

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

circa 6 anni 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 ...

circa 6 anni 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 ...

circa 6 anni 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...

circa 6 anni ago

Solved

find square root of a positive real number

a number given, find the square root of that number

circa 6 anni ago

Solved

find sum of the numbers in array

calculate the sum of numbers in a given array

circa 6 anni 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...

circa 6 anni 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...

circa 6 anni ago

Solved

most frequent character

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

circa 6 anni 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 ...

circa 6 anni ago

Solved

find the relation...

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

circa 6 anni 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...

circa 6 anni ago

Solved

Integer Sequence - 1

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

circa 6 anni 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...

circa 6 anni 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: * ...

circa 6 anni ago