Solved


Calculate Wind Chill Factor
The NWS Wind Chill Temperature (WCT) index formula for calculating the dangers from winter winds and freezing temperatures: Cal...

meer dan een jaar ago

Solved


Partial Pressure of Water Vapor from Relative Humidity
Buck (1996, 1981) published the following constants for the saturation pressure of water*: 6.1121 (mb) The saturation pressur...

meer dan een jaar ago

Solved


Latest Question On Cody
Get the problem number of the latest submitted Problem on Cody. Copying the test suite code might not help.

meer dan een jaar ago

Solved


Back to basics 14 - Keywords
Covering some basic topics I haven't seen elsewhere on Cody. Return a cell array of all MATLAB keywords

meer dan een jaar ago

Solved


BASICS - sum part of vector
Please make a function, where as input you get vector "x" and and vector "c", where in "c" vector you get indexes to sum. Examp...

meer dan een jaar ago

Solved


vector to string
Determine what the ASCII characters spell out. Example: input = [ 72 73 71 72] output = 'HIGH'

meer dan een jaar ago

Solved


Create a square matrix of zeros of even order
Create a square matrix of zeros of even order

meer dan een jaar ago

Solved


Determine if a row vector has NaN
Determine if a row vector x has NaN

meer dan een jaar ago

Solved


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

meer dan een jaar ago

Solved


calculate the tangent of angle in radians
Calculate the tangent of angle in degrees

meer dan een jaar ago

Solved


Volume of Cylinder
Compute the Circumference of a Cylinder given it's radius and height.Here x is the radius and y is the height

meer dan een jaar ago

Solved


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

meer dan een jaar ago

Solved


Find the sum of n squares
What is the sum of the squares of the first n integers?

meer dan een jaar ago

Solved


Pressure for a given Above Sea Level Altitude
For altitudes up to the stratosphere (around 11 km above mean sea level), the air pressure can be estimated from: with where...

meer dan een jaar ago

Solved


Divide pi
Divide pi by x!

meer dan een jaar ago

Solved


Select primes from the matrix.
Select primes from the matrix.

meer dan een jaar ago

Solved


Speed of car travelling x meters in y seconds
What is the speed of a car if the car travelled x meters in y seconds? Supply the answer in m/s.

meer dan een jaar ago

Solved


raise 1/3
Raise a number to 1/3 power.

meer dan een jaar ago

Solved


Roots of a quadratic equation.
Calculate the roots of a quadratic equation, given coefficients a, b, and c, for the equation a*x^2 + b*x + c = 0.

meer dan een jaar ago

Solved


Sum of cubes
Write a program to determine sum of cubes of first n odd numbers.

meer dan een jaar ago

Solved


Energy of an object
Calculate the total mechanical energy of an object. Total Energy= Potential energy + Kinetic energy P.E.=m*g*h K.E.=1/2...

meer dan een jaar ago

Solved


kmph to mph converter
Convert the speed in miles/hour to km/hour.

meer dan een jaar ago

Solved


Nth root
Nth root of a number x

meer dan een jaar ago

Solved


Create a constant offset.
Add a constant offset to an array. Example a = [1 3 5 9] offset = 2 y = [3 5 7 11]

meer dan een jaar ago

Solved


Display negative numbers
Given array,x, display all the negative numbers and display output as y. Example x=[1 -2 3 -4] , output is y=[-2 -4].

meer dan een jaar ago

Solved


No Twins?
Write a function that accepts as input a vector and returns the same vector, but retaining only the first occurrence of an eleme...

meer dan een jaar ago

Solved


Count decimal digits of a number
* Given an integer number you have to return the number of its digits. * For example 248 has 3 digits and 1589 has 4 digits ...

meer dan een jaar ago

Solved


Happy Free Wednesday!
Just submit your solution on any Wednesday. *Related Challenges:* # Happy Free Wednesday! # Happy Free 2019! # Happy Fr...

meer dan een jaar ago

Solved


Delete x value in given vector y.
Delete x value in given vector y. Exapmle x=5; y=[ 1 2 5 6 74 5 2 5] result=[1 2 6 74 2]

meer dan een jaar ago

Solved


true or false
if the matrix has a zero, return true. else, return false

meer dan een jaar ago

Load more