Solved

Free-time Equation
Given a 7-day week, an *_nc_* -number of *_tc_* -hour classes, *_ta_* -hours awake in a day, and *_tw_* -hours that you work in ...

4 years ago

Solved

Pangrams!
A pangram, or holoalphabetic sentence, is a sentence using every letter of the alphabet at least once. Example: Input s ...

4 years ago

Solved

Output a vector which is table of 9
Output a vector which is table of 9

5 years ago

Solved

Permutations of input vector
Find and output all permutations of given vector

5 years ago

Solved

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

5 years ago

Solved

Calculate square and cube of number
Calculate square and cube of number x

5 years ago

Solved

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

5 years ago

Solved

factorial of a number x
Factorial of a number x

5 years ago

Solved

Return the first and last character of a string
Return the first and last character of a string, concatenated together. If there is only one character in the string, the functi...

6 years ago

Solved

Average speed for the entire trip
The input is two speeds (for the trip and return trip) and output is average speed. Assume units are consistent, say miles per h...

6 years ago

Solved

Find maximum value of a curve
Two vectors shall be already defined: - Input vector x (e.g. x = 0:1:10) - Result vector y (e.g. y = sin(x)) Create a n...

6 years ago

Solved

Simple date to serial no. conversion
Convert a date string to a serial date number. For example if you take x='19-May-2001' then the result is 730990 x...

6 years ago

Solved

How many monitors are connected ?
How to obtain the numbers of monitors connected to your computer ?

6 years ago

Solved

Global usage
This Challenge is to utilize Global variables. Global variables are risky as the subroutine may inadvertently and unwantingly...

6 years ago

Solved

The goal of this problem is the same as the goal of the rest of them: *become the leader*. Actually, you can only solve this ...

6 years ago

Solved

Center of mass
Given a matrix M(m,n), where m is the number of vertices of the geometrical element and n is 2 or 3 (2D-plane figure or 3D-solid...

6 years ago

Solved

Power supply: 230V to 115V
The problem is simple: we have a wall outlet which supplies 230V and an apparatus that requires 115V. Software is always chea...

6 years ago

Solved

Convert a vector into a number
This is a sub problem related to this problem: <http://www.mathworks.com/matlabcentral/cody/problems/621-cryptomath-addition>...

6 years ago

Solved

Find the alphabetic word product
If the input string s is a word like 'hello', then the output word product p is a number based on the correspondence a=1, b=2, ....

6 years ago

Solved

Do Fast Fourier Transformation
Example Fast Fourier Transformation from vector [2,1]) ans = 3 1

6 years ago

Solved

Math Test
Your teacher gave you 15 minutes and 25 problems. In how much time can each Problem be solved, before time flies away? Writ...

6 years ago

Solved

if Slant height of Cone(I)& hight of Cone(H) given then find radius of the Cone(R) for example I=5,h=4 then the ans R=3;

6 years ago

Solved

Generate pi using logarithm
Generate pi using logarithm

6 years ago

Solved

Are you in or are you out?
Given vertices specified by the vectors xv and yv, and a single point specified by the numbers X and Y, return "true" if the poi...

6 years ago

Solved

Square wave average calculation
Given its peak and duty cycle, calculate avg value of square wave

6 years ago

Solved

Calculate the nth Fibonacci number USING 'Golden Ratio' concept
f = [1 1 2 3 5 8 13 ...] If n=6, f(6)=8

6 years ago

Solved

Given a number find two variables
If the input is *x*, find *a* and *b* from the following equation: *x = a*2^b*. Hint: *b* is an integer while *x* and *a* ar...

6 years ago

Solved

R2012b atan in Degrees
Return in degrees the atan result of inputs for all four quadrants. *Examples:* [x, y] Degrees 1 0 0 1 1 ...

6 years ago

Solved

Calculate the peak value of square wave
Given the peak value of sine wave, calculate corresponding peak value of square wave, if both have same RMS voltage.

6 years ago

Solved

Make a Plot with Functions
Make a plot and test

6 years ago