Community Profile

Statistics

All
  • CUP Challenge Master
  • Speed Demon
  • First Answer
  • Cody5 Easy Master
  • Promoter
  • Solver

View badges

Content Feed

View by

Solved


Celsius to Kelvin
Convert Celsius degrees to Kelvin temperature.

ongeveer 5 jaar ago

Solved


Fahrenheit to Celsius converter
Convert Fahrenheit to Celsius degrees.

ongeveer 5 jaar ago

Solved


Convert Fahrenheit to Celsius
Calculate the Celsius temperature C given the Fahrenheit temperature F. Examples: Input F = 90 Output C is 32.22 I...

ongeveer 5 jaar ago

Solved


Find the largest value in the 3D matrix
Given a 3D matrix A, find the largest value. Example >> A = 1:9; >> A = reshape(A,[3 1 3]); >> islargest(A) a...

ongeveer 5 jaar ago

Solved


Y=X
Given an input variable x, output a variable y that is equal in value to x. Example: Input x = 1 Output y is 1 Inp...

ongeveer 5 jaar ago

Solved


Cannon Ball
Given g (acceleration due to gravity) and desired altitude x, find the minimum ground velocity of a cannon ball to reach x.

ongeveer 5 jaar ago

Solved


Is the input divisible by 3?
Return true if the input is divisible by 3 and false if not.

ongeveer 5 jaar ago

Solved


Add two numbers
Add two numbers (For beginners)

ongeveer 5 jaar ago

Solved


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

ongeveer 5 jaar ago

Solved


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

ongeveer 5 jaar ago

Solved


DC chopper
Input x is the sampled signal vector, may have both AC and DC components. output vector y should have AC components removed then...

ongeveer 5 jaar ago

Solved


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

ongeveer 5 jaar ago

Solved


Find the product of a Vector
How would you find the product of the vector [1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0 5.5 6.0] times 2?; x = [1 : 0.5 : 6]; y ...

ongeveer 5 jaar ago

Solved


Area of a disk
Find the area of a disk or circle. x= radius of the disk.

ongeveer 5 jaar ago

Solved


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

ongeveer 5 jaar ago

Solved


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

ongeveer 5 jaar ago

Solved


Find max
Find the maximum value of a given vector or matrix.

ongeveer 5 jaar ago

Solved


Back to basics 10 - Max Float
Covering some basic topics I haven't seen elsewhere on Cody. Return the largest positive floating-point number MATLAB can han...

ongeveer 5 jaar ago

Solved


Maximum value in a matrix
Find the maximum value in the given matrix. For example, if A = [1 2 3; 4 7 8; 0 9 1]; then the answer is 9.

ongeveer 5 jaar ago

Solved


Back to basics 11 - Max Integer
Covering some basic topics I haven't seen elsewhere on Cody. Return the largest positive integer MATLAB can handle.

ongeveer 5 jaar ago

Solved


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

ongeveer 5 jaar ago

Solved


Find out sum of all elements of given Matrix
Find out sum of all elements of given Matrix A=[1 2 3;4 5 6 ;7 8 9]; Answer must be: 45 *If you like this problem, pl...

ongeveer 5 jaar 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...

ongeveer 5 jaar ago

Solved


Program an exclusive OR operation with logical operators
Program an exclusive or operation *without* using the MATLAB function xor. Use logical operators like |, &, ~, ... instead. ...

ongeveer 5 jaar ago

Solved


pressure to dB?
given x ratio of pressure, find corresponding y dB

ongeveer 5 jaar ago

Solved


Max of a Vector
Write a function to return the max of a vector

ongeveer 5 jaar ago

Solved


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

ongeveer 5 jaar ago

Solved


Filter AC, pass DC
Input x is the sampled signal vector, may have both AC and DC components. Output vector y should not contain any AC component. ...

ongeveer 5 jaar ago

Solved


Additive persistence
Inspired by Problem 2008 created by Ziko. In mathematics, the persistence of a number is the *number of times* one must apply...

bijna 6 jaar ago

Solved


Number of 1s in the Binary Representation of a Number
*Description* Return the number of 1s in the (unsigned integer) binary representation of a number. This function should be ab...

bijna 6 jaar ago

Load more