Risolto


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

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


Unit conversion
Convert x degree Celsius to y degree Fahrenheit.

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


prime test
find largest 2 digit prime number

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


Find Sine Function

oltre 3 anni fa

Carica altro