Risolto


Sum of the Multiplication of Vectors
Given the vectors x and y as input, multiply the vectors and return the summation of its elements. Example: x = [1 2 ...

oltre 11 anni fa

Risolto


How to make y half of x
Making y equal to x/2.

oltre 11 anni fa

Risolto


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

oltre 11 anni fa

Risolto


Sum Even Numbers
Given a number x, make the summation of all the even until x. For instance, x = 7, so y = 2+4+6 = 12 * x = [3] * y = 2 * ...

oltre 11 anni fa

Risolto


square root
Find the square root (y) of an input (x).

oltre 11 anni fa

Risolto


Find the square root of a value
Given the variable x as your input, find the square root and let the result be represented by y Examples: Input x = 4 O...

oltre 11 anni fa

Risolto


Times 32
X is given as your variable. Y is your output multiplied by 32 Example x=1 y=1x32=32

oltre 11 anni fa

Risolto


times 5
Given the variable x as your input, multiply it by five and put the result in y.

oltre 11 anni fa

Risolto


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

oltre 11 anni fa

Risolto


sum of the first 10 odd numbers
y = sum(first_10_odd_numbers)

oltre 11 anni fa

Risolto


Matlab Basics II - 3 Dimensional Arrays
Assume x is a 3D array with n pages, representing students in a class, for each student (page in the array, the 3rd dimension), ...

oltre 11 anni fa

Risolto


Matlab Basics II - Extract last 3 elements of a vector
Let x be a vector of unknown length, we are always interested in the last 3 numbers in the vector, write a function that gives t...

oltre 11 anni fa

Risolto


Replace every 3rd element in a vector with 4
x is a vector of undetermined length You are to replace every 3rd element with the number 4, example: x = [11 23 34 43 2 3...

oltre 11 anni fa

Risolto


Multiply by 3
Given the variable x as your input, multiply it by three and put the result in y.

oltre 11 anni fa

Risolto


Carnot cycle
Carnot engine is considered the most efficient heat engine.When operated between two temperatures T1 and T2, the efficiency is g...

oltre 11 anni fa

Risolto


facedetection and feature extraction using pandaboard
I need code for facedetection and feature extraction using pandaboard where matlab 2013a is used ...

oltre 11 anni fa

Risolto


Test Driven Solution - Probability Problem 1
*Problem:* Without any Cody cheats, write code that passes the test suite. *Hint:* The test suite gets samples from the proba...

oltre 11 anni fa

Risolto


Test Driven Solution - Probability Problem 2
*Problem:* Without any Cody cheats, write code that passes the test suite. *Hint:* The test suite gets samples from the proba...

oltre 11 anni fa

Risolto


Celsius to Kelvin
Degrees Celsius = Kelvin - 273.15

oltre 11 anni fa

Risolto


Finding the volume of a basketball.
You are given a basketball with a given radius (r), what is its volume?

oltre 11 anni fa

Risolto


Two functions (to be sure)
I want to compute the number of odd/even numbers in an array. But I want the results by two different functions. Example: ...

oltre 11 anni fa

Risolto


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

oltre 11 anni fa

Risolto


Matlab Basics II - Find the roots of a function
Write a function that finds where a curve crosses zero (the x-axis) to two decimal places Example: <<http://s14.postimg.o...

oltre 11 anni fa

Risolto


Multiplying Vectors 101
Make a vector from 1 to x then multiply the sum of that vector by 2.

oltre 11 anni fa

Risolto


Matlab Basics II - Unit Conversion
Write a function that converts Kg to lbs, returns the answer to the nearest 1/100th of a pound

oltre 11 anni fa

Risolto


Matlab Basics II - Log and natural log
Write a function that calculates the difference between the log and natural log of a vector, to two decimal places example: ...

oltre 11 anni fa

Risolto


Matlab Basics II - Count rows in a matrix
Write a function that returns that number of rows in a vector or matrix x example: x = [1; 2; 3] output = 3

oltre 11 anni fa

Risolto


Matlab Basics II - squares
Write a function that takes matrix A, and squares each element in the matrix example: A = [1 2 3] output = [1 4 9]

oltre 11 anni fa

Risolto


Matlab Basics II - Intervals
Write a function that takes an interval from a to b, and divides it into 5 parts example: a = 1, b = 2 output = 1 1.25 ...

oltre 11 anni fa

Risolto


Matlab Basics II - Free Fall
An object freely falling from rest under gravity covers a distance x given by: x = 1/2 gt^2 write a function that calculat...

oltre 11 anni fa

Carica altro