Community Profile

# Philipp Doblhofer

209 total contributions since 2017

View details...

Contributions in
View by

Solved

Celsius to Kelvin
Convert Celsius degrees to Kelvin temperature.

11 Monate ago

Solved

Fahrenheit to Celsius converter
Convert Fahrenheit to Celsius degrees.

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

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

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

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

11 Monate ago

Solved

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

11 Monate ago

Solved

11 Monate ago

Solved

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

11 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

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

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

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

11 Monate ago

Solved

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

11 Monate ago

Solved

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

11 Monate ago

Solved

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

11 Monate ago

Solved

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

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

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

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

11 Monate ago

Solved

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

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

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

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

11 Monate ago

Solved

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

11 Monate ago

Solved

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

11 Monate ago

Solved

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

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

11 Monate ago

Solved