Resuelto


Matlab Basics - Create a row vector
Write a Matlab script to create a row vector of 10 consecutive numbers x = [1 2 3 4 5 6 7 8 9 10]

alrededor de 11 años hace

Resuelto


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

alrededor de 11 años hace

Resuelto


solve for y that is half as much as three less than one tenth of x
function y = half(x) y = (x * .1); end

alrededor de 11 años hace

Resuelto


Product of Array
Given an array of numbers. Get the product of the array.

alrededor de 11 años hace

Resuelto


Find the product of a Vector
How would you find the product of the vector [1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0 5.5 6.0] times 2?; x = [1 : 0.5 : 6]; y ...

alrededor de 11 años hace

Resuelto


Volume of a box
Given a box with a length a, width b, and height c. Solve the volume of the box.

alrededor de 11 años hace

Resuelto


Sum of integers numbers
Sum of the numbers from 1 to 100

alrededor de 11 años hace

Resuelto


How long does it take to run a bath?
Given the *volume flow rate* (volume/time) of a faucet and the *volume* of a bath tub, find the amount of time it takes to fill ...

alrededor de 11 años hace

Resuelto


square number
Square a number

alrededor de 11 años hace

Resuelto


y equals x divided by 2
function y = x/2

alrededor de 11 años hace

Resuelto


Array of Ones
Create a 100 X 100 array of ones.

alrededor de 11 años hace

Resuelto


Close MATLAB with keyboard
Close MATLAB with keyboard without using mouse

alrededor de 11 años hace

Resuelto


Best Problem Elections
When I am writing those words, there are 2002 problems on Cody. Many of them are simply wonderful. Do you remember which of them...

alrededor de 11 años hace

Resuelto


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

alrededor de 11 años hace

Resuelto


Finding perimeter of a rectangle
A rectangle has a length of x centimeters and a width of w centimeters. Find the perimeter.

alrededor de 11 años hace

Resuelto


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

alrededor de 11 años hace

Resuelto


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

alrededor de 11 años hace

Resuelto


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

alrededor de 11 años hace

Resuelto


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

alrededor de 11 años hace

Resuelto


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

alrededor de 11 años hace

Resuelto


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

alrededor de 11 años hace

Resuelto


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

alrededor de 11 años hace

Resuelto


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

alrededor de 11 años hace

Resuelto


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

alrededor de 11 años hace

Resuelto


Celsius to Kelvin
Degrees Celsius = Kelvin - 273.15

alrededor de 11 años hace

Resuelto


Vector
Create a 1 x 10 vector from 1 to 20 with increments of 2

alrededor de 11 años hace

Resuelto


Times 3 problem
When you enter the number, it should return the number multiplied by 3

alrededor de 11 años hace

Resuelto


Print the largest eigenvalue of A(500)
Write a function that prints the largest eigenvalue of A(500), without any extraneous output. For a positive integer n, let A...

alrededor de 11 años hace

Resuelto


Area of a rectangle
Find the area of a rectangle with sides a and b

alrededor de 11 años hace

Resuelto


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

alrededor de 11 años hace

Cargar más