A résolu


Skip by a multiple
Given an integer create an array of its multiples. Array must have a length of 15

plus de 3 ans il y a

A résolu


Remove and Sort
Given a randomized array n, sort it and remove all odd integers. n=5 y = [2 4]

plus de 3 ans il y a

A résolu


Is It a Palindrome?
Given a string or array, determine if it is a palindrome.

plus de 3 ans il y a

A résolu


Areas
Given certain dimensions determine the area of that shape. If given only one value assume its the radius. Use round(x) to round ...

plus de 3 ans il y a

A résolu


Kinetic Energy
Given the mass m and velocity v of an object, determine its <http://en.wikipedia.org/wiki/Kinetic_energy kinetic energy>.

plus de 3 ans il y a

A résolu


Perimeters/Circumference
Given an array. Determine whether the perimeter is of a circle, triangle or square. Then calculate the perimeter.

plus de 3 ans il y a

A résolu


Where is she?
Given the numbers 12, 3, 6, 9 Tell where the girl is located. That is: Look to your 3 o'clock = look right Example ...

plus de 3 ans il y a

A résolu


02 - Vector Variables 3
Make the following variable: <<http://samle.dk/STTBDP/Assignment1_2c.png>> (all the numbers from 5 to -5 in increments of ...

plus de 3 ans il y a

A résolu


03 - Matrix Variables 2
Make the following variable: <<http://samle.dk/STTBDP/Assignment1_3b.png>> A 9x9 matrix of zeros, but with the following v...

plus de 3 ans il y a

A résolu


peta to nano (x-ray)
for certain x-ray radiation, given frequency in petahertz, give wavelength in nanometer, must be accurate +/- 25%

plus de 3 ans il y a

A résolu


Write a function man that takes a row vector v and returns a matrix H as follows..
Write a function called man that takes a row vector v as an input and returns a matrix H whose first column consist of the eleme...

plus de 3 ans il y a

A résolu


Matrix FUN
Given a Matrix M, find out the number of elements of matrix that are divisible by 3. M = [1 2 3;4 5 6;7 8 9]; ou...

plus de 3 ans il y a

A résolu


Back to Basics - Find no. of elements in a matrix?
Let A be a m*n matrix. Find the total no. of elements in A ? (Hint - formula based) A = [1 2 3;4 5 6]; output = 6

plus de 3 ans il y a

A résolu


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

plus de 3 ans il y a

A résolu


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

plus de 3 ans il y a

A résolu


Unit conversion
Convert x degree Celsius to y degree Fahrenheit.

plus de 3 ans il y a

A résolu


If you have matrix A, create matrix B using matrix A as an "element"
A = [1 2 3 4; 5 6 7 8] B = [1 2 3 4 1 2 3 4; 5 6 ...

plus de 3 ans il y a

A résolu


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

plus de 3 ans il y a

A résolu


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

plus de 3 ans il y a

A résolu


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

plus de 3 ans il y a

A résolu


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

plus de 3 ans il y a

A résolu


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

plus de 3 ans il y a

A résolu


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

plus de 3 ans il y a

A résolu


Square root of a number
Write a code that will output the square root of x.

plus de 3 ans il y a

A résolu


Interior angles
Find the sum of interior angles for polygon of x sides.

plus de 3 ans il y a

A résolu


Hardy-Ramanujan number
Find the first Hardy-Ramanujan number.

plus de 3 ans il y a

A résolu


prime test
find largest 2 digit prime number

plus de 3 ans il y a

A résolu


prime test 2
enter the only non prime,non composite number

plus de 3 ans il y a

A résolu


Find Sine Function

plus de 3 ans il y a

Charger plus