A résolu


Calculate square and cube of number
Calculate square and cube of number x

presque 9 ans il y a

A résolu


Tell me the slope
Tell me the slope, given a vector with horizontal run first and vertical rise next. Example input: x = [10 2];

presque 9 ans il y a

A résolu


only input
Return the output without writing any code into the function.

presque 9 ans il y a

A résolu


Make one big string out of two smaller strings
If you have two small strings, like 'a' and 'b', return them put together like 'ab'. 'a' and 'b' => 'ab' For extra ...

presque 9 ans il y a

A résolu


inner product of two vectors
inner product of two vectors

presque 9 ans il y a

A résolu


Population growth
Assign finalPopulation with the population size given an initial population, population growth rate, and number of years. The fi...

presque 9 ans il y a

A résolu


Write an expression
Assigns finalResult with firstSample plus secondSample, squared, then divided by 3. Ex: If firstSample is 18 and secondSample is...

presque 9 ans il y a

A résolu


Add 7
Given an input variable x, output a variable y that is 7 greater than x. Example: Input x = 1 Output y is 8 Input ...

presque 9 ans il y a

Problème


Xor of matrix
you have to set exclusive OR of two arrays

presque 9 ans il y a | 1 | 56 solveurs

A résolu


Delete blanks at the end of string
you got to delete all blank spaces which appears at the end of string

presque 9 ans il y a

Problème


Delete blanks at the end of string
you got to delete all blank spaces which appears at the end of string

presque 9 ans il y a | 0 | 76 solveurs

A résolu


Connect blocks in a model
Connect the blocks in the model to produce the following signal: <<http://blogs.mathworks.com/images/seth/cody/connect-blocks...

presque 9 ans il y a

A résolu


string comparision
compare two strings if both are same return 1 else return 0

presque 9 ans il y a

Problème


string comparision
compare two strings if both are same return 1 else return 0

presque 9 ans il y a | 0 | 51 solveurs

A résolu


Rank of matrix
Find the rank of given matrix

presque 9 ans il y a

Problème


To convolve two vectors
To convolve two vectors

presque 9 ans il y a | 0 | 69 solveurs

A résolu


Add two numbers
Add two numbers (For beginners)

presque 9 ans il y a

A résolu


Add two numbers
Calculate the sum of two numbers. Example input = [2 3] output = 5

presque 9 ans il y a

A résolu


How to find the position of an element in a vector without using the find function
Write a function posX=findPosition(x,y) where x is a vector and y is the number that you are searching for. Examples: fin...

presque 9 ans il y a

A résolu


Rotate a Matrix
Input a Matrix x, Output y is the matrix rotating x 90 degrees clockwise

presque 9 ans il y a

A résolu


Back to basics 22 - Rotate a matrix
Covering some basic topics I haven't seen elsewhere on Cody. Rotate the input matrix 90 degrees counterclockwise (e.g. [1 2; ...

presque 9 ans il y a

A résolu


Rotate a Matrix by 90 degrees
Rotate a Matrix by 90 degrees Example: If the input is: X = 1 2 3 4 5 6 7 8 9 ...

presque 9 ans il y a

A résolu


Temperature conversion
Convert temperature in degrees Celsius (C) to temperature in degrees Kelvin (K). Assume your answer is rounded to the nearest Ke...

presque 9 ans il y a

A résolu


Determine the square root
Determine the square root of the value the user has entered, n.

presque 9 ans il y a

A résolu


Find the dimensions of a matrix
Just find the number of columns of the given matrix. Example x = [1 2 3 4 5 6] y = 2

presque 9 ans il y a

A résolu


Declaring a character
* Assign middleInitial with the character T.

presque 9 ans il y a

A résolu


Area of a Square
Inside a square is a circle with radius r. What is the area of the square?

presque 9 ans il y a

A résolu


Square Diagonal
If n is the given number, then make a diagonal matrix of size 2*2 with the square of that number.

presque 9 ans il y a

A résolu


Variable Assignment
Complete the ? part by assigning myExamScore with 100.

presque 9 ans il y a

A résolu


Count decimal digits of a number
* Given an integer number you have to return the number of its digits. * For example 248 has 3 digits and 1589 has 4 digits ...

presque 9 ans il y a

Charger plus