Calculate Drag Force
Write a MATLAB function to compute the drag force on an object moving through air:
where:
D is drag force (N)
ρ is air de...
5ヶ月 前
解決済み
Calculate Lift Force on an Airfoil
Write a MATLAB function to calculate the lift force acting on an airfoil given the air density, wing area, velocity of the airfl...
5ヶ月 前
解決済み
Compute Airspeed from Mach Number
Write a MATLAB function that converts a Mach number to airspeed given the speed of sound aa in m/s: V=M⋅a
V = airspeed (m/s)
M...
5ヶ月 前
解決済み
Calculate Reynolds Number
Write a MATLAB function that calculates the Reynolds number for flow over a flat plate:
ρ = fluid density (kg/m³)
V = veloc...
5ヶ月 前
解決済み
GJam: 2013 China Event: Cannon Angle
This Challenge is derived from <http://code.google.com/codejam/contest/2933486/dashboard#s=p1 GJam 2013 China Captain Hammer>. T...
5ヶ月 前
解決済み
Counting Sequence
Given a vector x, find the "counting sequence" y.
A counting sequence is formed by "counting" the entries in a given sequence...
5ヶ月 前
解決済み
Data Regularization
Provided is an m-by-n integer data matrix A whose elements are drawn arbitrarily from a set *S* = [1,2,3,...,S] for any large in...
5ヶ月 前
解決済み
List the Euclid numbers
Euclid proved that the number of primes is infinite with the following argument. Suppose the primes form a finite set , , . Comp...
5ヶ月 前
解決済み
Shift elements of vector left
Shift elements of vector to the left.
For ex. : Input_vec = [1 2 3 4 5]
Output_vec = [2 3 4 5 1]
5ヶ月 前
解決済み
three digits
Input three digits no larger than 4,say 1,2 and 3, write the possible largest number composed(concatenation and power) only by t...
5ヶ月 前
解決済み
Array Concatenation (1)
Given two matrices, a and b, concatenate the two matrices horizontally, i.e., the number of columns of the result should be equa...
5ヶ月 前
解決済み
Decimation
When dealing to the Roman Army, the term decimate meant that the entire unit would be broken up into groups of ten soldiers, and...
What percentage?
Calculate the output c as the percentage of a on b for given a and b.
5ヶ月 前
解決済み
Step up
For given input array, output a array with all elements step up by two
5ヶ月 前
解決済み
Calculate the values of a polynomial.
Calculate the values of a polynomial.Input parameter p - vector of polynomial coefficients, x - matrix of the argument values.
...
5ヶ月 前
解決済み
Sum of even numbers in a vector
Write a function that takes a vector of numbers and returns the sum of all the even numbers in the vector.
5ヶ月 前
解決済み
Linearly Spaced Array
Create a linearly spaced array from 0 to x consisting of y elements.