Gelöst


Vertical matrix sort
Given a matrix x with n rows and m columns, return a matrix y with 2n rows and m columns, such that every column in x is sorted ...

15 Tage vor

Gelöst


Matlab Basics - Rounding I
Write a script to round x DOWN to the next lowest integer: e.g. x = 2.3 --> x = 2 also: x = 2.7 --> x = 2

15 Tage vor

Gelöst


Box!
Given a box, find the volume of the cube. With each side = a.

15 Tage vor

Gelöst


UICBioE240 problem 1.1
Remove the middle row from a matrix, assuming # of rows is odd. So if A = [ 1 2 3; 4 5 6; 7 8 9] the...

15 Tage vor

Gelöst


Geometric series
Find the sum, given the first term t1, the common ratio r, and number of terms n. Examples If input t1=1, r=1, n=7 the...

15 Tage vor

Gelöst


UICBioE240 problem 1.3
Find the length of a vector. So if A = [1 1 1 1 1] Then B = 5

15 Tage vor

Gelöst


Squares inside a square!

15 Tage vor

Gelöst


Ohmic Heating

15 Tage vor

Gelöst


Multiplos 7
Escreva um programa que mostre todos os números entre 5 e 100 que são divisíveis por 7, mas não são múltiplos de 5. Os números o...

15 Tage vor

Gelöst


Transpose of matrix
Transpose of matrix as per test cases

15 Tage vor

Gelöst


Vector Element Multiplication
Take two incoming vectors, and output the element wise multiplication of the vectors.

15 Tage vor

Gelöst


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

15 Tage vor

Gelöst


Array of Ones
Create a 100 X 100 array of ones.

15 Tage vor

Gelöst


Find out missing number from a vector of 9 elements
You are given a vector of size 9, x = [x1 x2 x3 x4 x5 x6 x7 x8 x9] Elements of x may be randomly selected without repeati...

15 Tage vor

Gelöst


10% Discount

15 Tage vor

Gelöst


Even or Odd
Write a function which can tell us if the given value x is odd or even. So if x is even return true and if x is odd return false...

15 Tage vor

Gelöst


What's the missing interior angle?
I'm talking about polygons... The sum of the interior angles of a triangle is 180 degrees. The sum of the interior angles of a...

15 Tage vor

Gelöst


Are you in XY plane?
Take a point P as an input position Vector (x,y,z). If you are in XY plane, return 1 as an output otherwise return 0. Example...

15 Tage vor

Gelöst


persistant sum
There will be 9 tests for this problem. In each test you will be provided with 2 integers n=[n1,n2], where n2 is equal to t...

15 Tage vor

Gelöst


Celsius to Kelvin
Convert Celsius degrees to Kelvin temperature.

15 Tage vor

Gelöst


Odd row
Create a row 'y' with odd numbers where the potential maximum number is given by 'x' and the space between them by 'm'. The firs...

15 Tage vor

Gelöst


Summy's odd sum

15 Tage vor

Gelöst


Find the position of first minimum value in an integer array with numbers
If x = [2 6 4 9 10 3 1 5 1] the the output should be 7, because the first minimum value (1) lies at the 7th position.

15 Tage vor

Gelöst


Calculate the base-10 logarithm of a number
Calculate the logarithm of number x

15 Tage vor

Gelöst


Calculate the Distance to Source of Lightning
Lightning discharge heats air rapidly with lightning channels reaching temperatures of up to 50,000 degrees Fahrenheit (which is...

15 Tage vor

Gelöst


Back to basics 15 - classes
Covering some basic topics I haven't seen elsewhere on Cody. Return the class of the input variable.

15 Tage vor

Gelöst


Perimeter of a Triangle

16 Tage vor

Gelöst


find the logic,easy one
find the logic behind, example x=18 y=306 x=53 y=2756

16 Tage vor

Gelöst


Solve the system of linear equations
4x - 2y +6z=8 2x + 8y +2z=4 6x + 10y +3z=0 Input is each coefficient of polynomial. For example, a=[4 ...

16 Tage vor

Mehr laden