Resuelto


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

más de 11 años hace

Resuelto


Speed of car
Calculate the Speed of car given its Distance travelled and time taken in x and y respectively

más de 11 años hace

Resuelto


Potential Energy
Calculate the potential energy of a rock.

más de 11 años hace

Resuelto


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

más de 11 años hace

Resuelto


Find all of the odd integers in a vector between the intergers 1 and 10.
Given vector of integers 1:10 [1 2 3 4 5 6 7 8 9 10]

más de 11 años hace

Resuelto


Find out sum of prime number till given number
Find out sum of prime number till given number Example, if number is 10, then answer must be 17.

más de 11 años hace

Resuelto


Divide by 4
Given the variable x as your input, divide it by 4 and put the result in y.

más 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 ...

más de 11 años hace

Resuelto


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

más de 11 años hace

Resuelto


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

más de 11 años hace

Resuelto


Reshape a Vector
Write a function that accept three inputs. The first one is a row vector S. The second and third arguments are m and n which de...

más 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]

más 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...

más de 11 años hace

Resuelto


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

más de 11 años hace

Resuelto


Create a vector
Create a vector from 0 to n by intervals of 2.

más 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 ...

más de 11 años hace

Resuelto


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

más de 11 años hace

Resuelto


Largest Prime Number
Given a matrix X, find the largest prime number in X.

más de 11 años hace

Resuelto


Divide by 4
Given the variable x as your input, divide it by four and put the result in y.

más de 11 años hace

Resuelto


Remove the positive integers.
Given array,x, remove all the positive numbers and display ouput as y. Example x=[1 -2 3 -4] , output is y=[-2 -4].

más 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 ...

más de 11 años hace

Resuelto


Convert a vector into numbers
Suppose a vector x = [ 1 2 4 7] is given. You have to convert this vector into string number y = '1247'. Examples x = [ 1...

más de 11 años hace

Resuelto


Reverse the input
Given an input (n), produce an output in the reverse order with out using string variables or string function. Example x ...

más de 11 años hace

Resuelto


Declaring a string
* Assign streetAddress with the string 1313 Mockingbird Lane.

más de 11 años hace

Resuelto


Is My Wife Wrong?
Answer the question. (see also <http://www.mathworks.com/matlabcentral/cody/problems/149-is-my-wife-right Problem 149: Is my ...

más de 11 años hace

Resuelto


What is Sum Of all elements of Matrix
Given the matrix x, return the sum of all elements of matrix. Example: Input x = [ 1 2 0 0 0 0 6 9 3 3 ] ...

más de 11 años hace

Resuelto


Double colon operator: Increment by x
* Construct a row array countValues from 0 to 25, elements incremented by incrementValue. Ex: If incrementValue is 5, countVa...

más de 11 años hace

Resuelto


Find the position of first minimum value in an integer array with numbers
If x = [2 6 4 9 10 3 1 5 1] the the output should be 7, because the first minimum value (1) lies at the 7th position.

más 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

más de 11 años hace

Resuelto


vector to string
Determine what the ASCII characters spell out. Example: input = [ 72 73 71 72] output = 'HIGH'

más de 11 años hace

Cargar más