Gelöst


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

fast 5 Jahre vor

Gelöst


Generate pi using logarithm
Generate pi using logarithm

fast 5 Jahre vor

Gelöst


Returning a "greater than" vector
Given a vector, v, return a new vector , vNew, containing only values > n. For example: v=[1 2 3 4 5 6] n=3 vNew =...

fast 5 Jahre vor

Gelöst


Arrange vector in ascending order
Arrange a given vector in ascending order. input = [4 5 1 2 9]; output = [1 2 4 5 9];

fast 5 Jahre vor

Gelöst


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

fast 5 Jahre vor

Gelöst


multiply by three
Given the variable x as your input, multiply it by 3 and put the result equal to y. Examples: Input x = 2 Output y is ...

fast 5 Jahre vor

Gelöst


Create a vector whose elements depend on the previous element
The idea is to create a vector A whose elements depend on the previous element : *A(i+1) = 2*A(i)+1* *2 Inputs*: - A : The...

fast 5 Jahre vor

Gelöst


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

fast 5 Jahre vor

Gelöst


select the primes of a vector
Find the prime numbers in a vector

fast 5 Jahre vor

Gelöst


find the surface area of a cube
given cube side length x, find the surface area of the cube, set it equal to y

fast 5 Jahre vor

Gelöst


Vector with a repeated entry
Create a row vector of length n, filled with 4's. For example, if n = 3, output = [4 4 4] Hint: Search for the function...

fast 5 Jahre vor

Gelöst


Unit conversion
Convert x degree Celsius to y degree Fahrenheit.

fast 5 Jahre vor

Gelöst


Corresponding letter to ASCII code.
Given the letter, the output will show the corresponding ASCII code.

fast 5 Jahre vor

Gelöst


ASCII Code
Using matlab, give the symbol that is associated with ASCii code 90.

fast 5 Jahre vor

Gelöst


Write a code that will follow the equation y = x * (x + x) * x.
If x = 5, y = 5 * (5+5) * 5 = 250

fast 5 Jahre vor

Gelöst


Log of a number
Write a script that will give the log of x as output.

fast 5 Jahre vor

Gelöst


ASCII code of a leter.
Given the letter, the output will show the corresponding ASCII code.

fast 5 Jahre vor

Gelöst


Annual Salary
What is the annual salary of Mr. Cody if he works 40 hours a week and gets $x per hour and a yearly bonus of $2000? (Let, 50 wee...

fast 5 Jahre vor

Gelöst


Area of a circle
Given the radius x, y would be the area of a circle. Pi = 3.1416

fast 5 Jahre vor

Gelöst


Remove the positive integers.
Given array,x, remove all the positive numbers and display ouput as y. Example x=[1 -2 3 -4] , output is y=[-2 -4].

fast 5 Jahre vor

Gelöst


Square the input
Given a scalar or vector x, return the square of each element. Example x = [7 2] answer = [49 4]

fast 5 Jahre vor

Gelöst


Guess
A random number between 1 and 10 is created for the variable y. Guess what its value is.

fast 5 Jahre vor

Gelöst


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

fast 5 Jahre vor

Gelöst


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

fast 5 Jahre vor

Gelöst


Find the Nth Root of a Given Number
Find the Nth root of a given number x. Examples x = 4096 n = 4 y = 8 x = 625 n = 5 y = 3.6239

fast 5 Jahre vor

Gelöst


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

fast 5 Jahre vor

Gelöst


Is it a number?
Determine if input is numeric. If it is,output is 1; if it is not, output is 0.

fast 5 Jahre vor

Gelöst


Right and wrong
Given a vector of lengths [a b c], determines whether a triangle with those sides lengths is a right triangle: <http://en.wikipe...

fast 5 Jahre vor

Gelöst


Love triangles
Given a vector of lengths [a b c], determines whether a triangle with non-zero area (in two-dimensional Euclidean space, smarty!...

fast 5 Jahre vor

Mehr laden