Solved


Find out value of sine given by degree.
Find out value of sine given by degree. If theta=30, it's value must be 0.5.

3 månader ago

Solved


Square a Number
Given an input x, return y, which is equal to the square of x.

3 månader ago

Solved


y equals x divided by 2
function y = x/2

3 månader ago

Solved


metre to feet converter
The idea is to make a converter, which exchange meters to feets. We use a factor of 1m = 3.281*1f. so 3m are equals to 9.843 m...

3 månader ago

Problem


Red Cross

3 månader ago | 0 | 20 solvers

Solved


Back to basics 15 - Benchmark
Covering some basic topics I haven't seen elsewhere on Cody. Return an array of the benchmark values for MATLAB.

3 månader ago

Solved


Area of rhombus
Calculate the rhombus area

3 månader ago

Solved


find the maximum element of the matrix
for e.g x = [1 2; 3 4] y = 4

3 månader ago

Solved


square number
Square a number

3 månader ago

Solved


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 ]

3 månader ago

Solved


Area of a circle
Find the value for area of the circle if diameter is given

3 månader ago

Solved


square root
Find the square root (y) of an input (x).

3 månader ago

Solved


Remove NaN ?
input -> matrix (n*m) with at least one element equal to NaN; output -> matrix(p*m), the same matrix where we deleted the enti...

3 månader ago

Solved


Output a vector which is table of 9
Output a vector which is table of 9

3 månader ago

Solved


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

3 månader ago

Solved


Sum of the Multiplication of Vectors
Given the vectors x and y as input, multiply the vectors and return the summation of its elements. Example: x = [1 2 ...

3 månader ago

Solved


Test Problem; Create a 5x5 array containing all ones
This is a test for learning the process of creating a Cody problem. The goal of this test problem will be to create an array,...

3 månader ago

Solved


Speed of car
Calculate the Speed of car given its Distance travelled and time taken in x and y respectively

3 månader ago

Solved


find the roots of a quadratic equation
for e.g x = [ 2 -1 -3] y = [1.5 -1]

3 månader ago

Solved


Times 3 problem
When you enter the number, it should return the number multiplied by 3

3 månader ago

Solved


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

3 månader ago

Solved


Squaring Matrix
Square the following matrix using matlab % A = 1 2 3 4 5 6 7 8 So new matrix should display...

3 månader ago

Solved


Sum of the Matrix Elements
Add up all the elements in a NxM matrix where N signifies the number of the rows and M signifies the number of the columns. E...

3 månader ago

Solved


area of a sphere

3 månader ago

Solved


Calculate volume of box
Calculate the volume of box,hiven its sides

3 månader ago

Solved


Square root of a number
Write a code that will output the square root of x.

3 månader ago

Solved


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

3 månader ago

Solved


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

3 månader ago

Solved


Simple Vector Addition
Take two incoming vectors and output the sum of the two vectors

3 månader ago

Solved


Find 0 in array
Given array find where there 0 is.

3 månader ago

Load more