Community Profile # Robert

2021 이후 활성

#### Statistics

• • • • • • • • • • • • 배지보기

#### Content Feed

보기 기준

해결됨

Find Logic 6

약 1달 전

해결됨

Find Logic 4

약 1달 전

해결됨

Sum of first n positive integers
Given n, find the sum of first n positive integers Example: If n=10, then x=1,2,3,4,5,6,7,8,9,10. The sum of these terms is 55

약 1달 전

해결됨

Is this is a Tic Tac Toe X Win?
For the game of <https://en.wikipedia.org/wiki/Tic-tac-toe Tic Tac Toe> we will be storing the state of the game in a matrix M. ...

약 1달 전

해결됨

Find the hypotenuse
Given a and b (the two sides of a right-triangle), find c, the hypotenuse.

약 1달 전

해결됨

Create cell array of strings
Convert the input to a cell array, but only if necessary. If the input is a string, return a 1-by-1 cell array containing the...

3달 전

해결됨

Normalizing a vector

3달 전

해결됨

X O X O
On a noughts and crosses board, how many possible unique combinations are there given a square grid of length n? Assumptions/...

3달 전

해결됨

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

3달 전

해결됨

Summy's even sum

3달 전

해결됨

Summy's odd sum

3달 전

해결됨

Duration of a trip in minutes
Input is a string which includes the duration of a trip. Convert the duration to minutes. For example if the duration of a t...

3달 전

해결됨

Global usage
This Challenge is to utilize Global variables. Global variables are risky as the subroutine may inadvertently and unwantingly...

3달 전

해결됨

Persistent Usage
This Challenge is to implement the Matlab Persistent variable capability. Given a sequence of Calls to a function return the cu...

3달 전

해결됨

Cody Matlab Version
What is the current Cody Matlab Release? *Output:* string *Examples:* '(R2012a)' or 'R2012a' Hint: We have mo...

3달 전

해결됨

Find the diagonal of the square of side L
You are given a square of side length L, find D the length of its diagonal.

3달 전

해결됨

False position (linear interpolation) method of finding a root.
Test the false position algorithm described in Chapter 5 of Steven C. Chapra's textbook, Applied Numerical Methods with MATLAB f...

3달 전

해결됨

time of day
Calculate the time of day in days, hours, minutes or seconds passed since the beginning of the day, depending on the unit. The u...

3달 전

해결됨

Mandelbrot Number Test [Real+Imaginary]
The <http://en.wikipedia.org/wiki/Mandelbrot_set Mandelbrot Set> is built around a simple iterative equation. z(1) = c z...

3달 전

해결됨

Sort in descending order.

3달 전

해결됨

find "greatest common divisor" of two integer value
A function to find Greatest Common Divisor of two integer input E.G. x=-18 y=96 output should be +6 x=-18; y=96; >>your...

3달 전

해결됨

mathematics , probability problem
How many different result can we have, rolling k dice?

3달 전

해결됨

Matlab Basics II - Determine if an array has a 3rd dimension
For an array A, determine whether it has 3 dimensions, return 0 if x is only 2D, and 1 if x is 3D

3달 전

해결됨

Find the binary code
Given a sinusoidal signal, create a function that returns the binary code of a quantized value. The function takes the bit lengt...

3달 전

해결됨

Vertically stack two vectors
Stack two vectors on top of each-other so that... if A = [1 5 3] and B = [8 6 4] then C = [1 5 3 ; 8 6 4]

3달 전

해결됨

Throw common elements of two vector arrays in sorted manner
Throw common elements as output in sorted manner (acending order) of two given input vector arrays

3달 전

해결됨

Find offset of given matrix element from first matrix element
Given matrix m and an element of that matrix, return the offset from its first element. e.g. m=[11 2 34; 40 51 6; 87 8 109] el...

3달 전

해결됨

Find supported functions
Given a function name, return true if that function is supported by the toolboxes that are installed with MATLAB on this machine...

3달 전

해결됨

Step up
For given input array, output a array with all elements step up by two

3달 전

해결됨

How to get the additive inverse of a uint8.
Given x as a uint8 find the additive inverse y.

3달 전