the average value of the elements
Calculate the average value of the elements in the array

2ヶ月 前

The sum of the numbers in the vector
eg. [1,2,3]---->SUM=6

2ヶ月 前

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

2ヶ月 前

Write a code that will follow the equation y = x * (x + x) * x.
If x = 5, y = 5 * (5+5) * 5 = 250

2ヶ月 前

Transpose the Matrix
Transpose the given matrix, e.g. x=[a b;c d] transpose of x = [a c;b d]

2ヶ月 前

calculate the length of matrix
input 1 array, calculate the length

2ヶ月 前

Find the max element of the array
Find the max element of the array

2ヶ月 前

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

2ヶ月 前

Calculate some equation
Using given inputs x and z, make two outputs that are y1 = (xz)/(x/z)^2 + 14x^2 - 0.8z^2 y2 = x^z - z^x + (x/z)^2 - (z/x...

2ヶ月 前

Spherical Volume
Calculate the volume of a sphere.

2ヶ月 前

Find the Nth Root of a Given Number
Find the Nth root of a given number x. Examples x = 4096 n = 4 y = 8 x = 625 n = 5 y = 3.6239

2ヶ月 前

Area of a Square
Given the length x of the side of a regular square, find the area of the square, A.

2ヶ月 前

Change matrix to vector
Vector is a matrix whose size is 1 x n or n x 1. Change matrix to vector. x = 4 3 5 1 ...

2ヶ月 前

kmph to mps
convert kilometer per hour to meter per second

2ヶ月 前

2ヶ月 前

Matlab Basics II - Minimum
Write a function that returns the minimum of each ROW of a matrix x example: x = [1 2 3; 4 5 6]; output [1;4];

2ヶ月 前

Change string to number
Change given string to number. (hint: there is already function) Changing from ['1234'] to [1234] is one of example

2ヶ月 前

area of a sphere

2ヶ月 前

Percentage
There is x liter water and y gram => z is percentage of salt in water

2ヶ月 前

Divide by 4
Given the variable x as your input, divide it by 4 and put the result in y.

2ヶ月 前

Kelvin to Fahrenheit
You can find a doc about it in here => https://www.rapidtables.com/convert/temperature/how-kelvin-to-fahrenheit.html x is kelvi...

2ヶ月 前

Back to basics 6 - Column Vector
Covering some basic topics I haven't seen elsewhere on Cody. Given an input vector, output true or false whether it is a colu...

2ヶ月 前

Convert Fahrenheit to Kelvin
Convert the value f in Fahrenheit to Kelvin

2ヶ月 前

Unit conversion
Convert x degree Celsius to y degree Fahrenheit.

2ヶ月 前

Celsius to Fahrenheit converter
Convert Celsius to Fahrenheit degrees.

2ヶ月 前

Area of rhombus
Calculate the rhombus area

2ヶ月 前

convert matrix to single column
given any matrix, convert it to single column

2ヶ月 前

Rotate matrix by -90 degrees
Rotate a Matrix by -90 degrees Example: X = 1 2 3 4 5 6 7 8 9 output = 7 4 ...

2ヶ月 前

Rotate array 90 degrees
Rotate the given matrix by 90 degrees. Example, A = [1 2 3 ; 4 5 6 ] B = rotated(A) = [ 3 6; 2 5; 1 4 ]

2ヶ月 前

Try 1.5.4: Celsius to Fahrenheit
Write a program to convert an input given in Celsius to Fahrenheit. Examples: Input celsiusValue = 100 Output fahrValu...

2ヶ月 前