Community Profile

photo

Philipp Doblhofer's Badges

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

View details...

Contributions in
View by

Solved


Celsius to Kelvin
Convert Celsius degrees to Kelvin temperature.

12 Monate ago

Solved


Fahrenheit to Celsius converter
Convert Fahrenheit to Celsius degrees.

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

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

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

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

12 Monate ago

Solved


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

12 Monate ago

Solved


Add two numbers
Add two numbers (For beginners)

12 Monate ago

Solved


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

12 Monate 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

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

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

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

12 Monate ago

Solved


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

12 Monate ago

Solved


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

12 Monate ago

Solved


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

12 Monate ago

Solved


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

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

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

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

12 Monate ago

Solved


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

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

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

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

12 Monate ago

Solved


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

12 Monate ago

Solved


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

12 Monate ago

Solved


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

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

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

fast 2 Jahre 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...

fast 2 Jahre ago

Load more