Solved

How to get the additive inverse of a uint8.

Given x as a uint8 find the additive inverse y.

bijna 3 jaar 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...

bijna 3 jaar ago

Solved

Guess

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

bijna 3 jaar 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...

bijna 3 jaar 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 ...

bijna 3 jaar ago

Solved

Solving Quadratic Equations (Version 2)

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

bijna 3 jaar ago

Solved

Case-insensitive Character Detection

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

bijna 3 jaar 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 ...

bijna 3 jaar 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 ...

bijna 3 jaar 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...

bijna 3 jaar ago

Solved

find square root of a positive real number

a number given, find the square root of that number

bijna 3 jaar ago

Solved

find sum of the numbers in array

calculate the sum of numbers in a given array

bijna 3 jaar 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...

bijna 3 jaar 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...

bijna 3 jaar ago

Solved

most frequent character

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

bijna 3 jaar 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 ...

bijna 3 jaar ago

Solved

find the relation...

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

bijna 3 jaar 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...

bijna 3 jaar ago

Solved

Integer Sequence - 1

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

bijna 3 jaar 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...

bijna 3 jaar 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: * ...

bijna 3 jaar ago