Feeds
已解决
Energy of a photon
Given the frequency F of a photon in giga hertz. Find energy E of this photon in giga electron volts. Assume h, Planck's ...
8 years 前
已解决
How to subtract?
* Imagine you need to subtract a few numbers using MATLAB. * You will not be using eval for this task. * Given two ASCII strin...
8 years 前
已解决
Swap the input arguments
Write a two-input, two-output function that swaps its two input arguments. For example: [q,r] = swap(5,10) returns q = ...
9 years 前
已解决
Annoying population
Every year the number of annoying persons in the office triples Found the population, given a(0) and t
9 years 前
已解决
Say something funny
Say something funny, or not. Your solution will be (fully automatically and objectively) scored based on how clever or funny ...
9 years 前
已解决
Beat the test suite if you can :)
Solve this problem based on clues in the test suite.
9 years 前
已解决
Given a square and a circle, please decide whether the square covers more area.
You know the side of a square and the diameter of a circle, please decide whether the square covers more area.
9 years 前
已解决
Replace Negative(-) by 0 and positive by 1
In a given Matrix Replace all element having *Negative sign with 0* and *Positive elements with 1* .
9 years 前
已解决
Probability of red tulips
I hope to give you bulbs of tulip. But I do not know the color of those petals. I just know that the color is red, white or yell...
9 years 前
已解决
Calculate feeling temperature before climbing a mountain
I sometimes climb a mountain. As is well known, when the altitude becomes 100 (m) higher, the temperature lowers by 0.6 degrees...
9 years 前
已解决
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.
9 years 前
已解决
Area of a Square
Given the length x of the side of a regular square, find the area of the square, A.
9 years 前
已解决
Reverse the vector
Reverse the vector elements. Example: Input x = [1,2,3,4,5,6,7,8,9] Output y = [9,8,7,6,5,4,3,2,1]
9 years 前
已解决
Sum all integers from 1 to 2^n
Given the number x, y must be the summation of all integers from 1 to 2^x. For instance if x=2 then y must be 1+2+3+4=10.
9 years 前
已解决
vectors counting by 5
Create a vector with numbers from x_min to x_max in increments of 5.
9 years 前
已解决
Bottles of beer
Given an input number representing the number of bottles of beer on the wall, output how many are left if you take one down and ...
9 years 前
已解决
Simple equation: Annual salary
Given an hourly wage, compute an annual salary by multiplying the wage times 40 and times 50, because salary = wage x 40 hours/w...
9 years 前
已解决
Kinetic Energy
Given mass, m, and kinetic energy, KE, find the velocity of the object.
9 years 前
已解决
Quantization
3-bit ADC channel accepts analog input ranging from 0 to 5 volts, determine the number of quantization levels.
9 years 前
已解决
square root
Write a script that returns the square root of the elements in x. e.g. x = [1 4 9 16] --> y = [1 2 3 4]
9 years 前
已解决
Decimal to Binary
Create a function that returns the binary of a decimal number. Decimal number is given as 6
9 years 前
已解决
Determine if number is even
Your function should return true if input x is even, else return false
9 years 前
已解决
Add offset to a signal
Produce the following signal: <<http://blogs.mathworks.com/images/seth/cody/add-offset-eqn.png>> You should see a downward...
9 years 前
已解决
Produce a sine wave
Produce a sine wave with amplitude 3: <<http://blogs.mathworks.com/images/seth/cody/sine-eqn.png>>
9 years 前


