解決済み


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

3年以上 前

解決済み


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

3年以上 前

解決済み


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

3年以上 前

解決済み


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

3年以上 前

解決済み


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

3年以上 前

解決済み


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

3年以上 前

解決済み


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

3年以上 前

解決済み


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

3年以上 前

解決済み


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

3年以上 前

解決済み


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

3年以上 前

解決済み


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

3年以上 前

解決済み


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

3年以上 前

解決済み


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

3年以上 前

解決済み


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

3年以上 前

解決済み


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

3年以上 前

解決済み


Unit conversion
Convert x degree Celsius to y degree Fahrenheit.

3年以上 前

解決済み


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

3年以上 前

解決済み


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

3年以上 前

解決済み


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

3年以上 前

解決済み


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

3年以上 前

解決済み


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

3年以上 前

解決済み


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

3年以上 前

解決済み


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

3年以上 前

解決済み


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

3年以上 前

解決済み


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

3年以上 前

解決済み


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

3年以上 前

解決済み


prime test
find largest 2 digit prime number

3年以上 前

解決済み


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

3年以上 前

解決済み


Find Sine Function

3年以上 前

さらに読み込む