Resuelto


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

más de 1 año hace

Resuelto


Flip the vector from right to left
Flip the vector from right to left. Examples x=[1:5], then y=[5 4 3 2 1] x=[1 4 6], then y=[6 4 1]; Request not ...

más de 1 año hace

Resuelto


Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

más de 1 año hace

Resuelto


Inner product of two vectors
Find the inner product of two vectors.

más de 1 año hace

Resuelto


sum of 2 numbers
solve the problem by adding 2 numbers together

más de 1 año hace

Resuelto


to the 2 all elements
to the 2 all elements

más de 1 año hace

Resuelto


Celsius to Kelvin
Convert Celsius degrees to Kelvin temperature.

más de 1 año hace

Resuelto


Sum of Two Numbers
Given two integer numbers x and y, calculate their sum and put it in z. Examples: Inputs x = 2, y = 4 Output z is 6 ...

más de 1 año hace

Resuelto


Convert yards to feet
The goal of this script is to convert a value given in yards to feet.

más de 1 año hace

Resuelto


Temperature Conversion 1

más de 1 año hace

Resuelto


Find max
Find the maximum value of a given vector or matrix.

más de 1 año hace

Resuelto


Product of elements in row
Product of matrix such that a=[3 3 1] b=9

más de 1 año hace

Resuelto


Area of a Square
Inside a square is a circle with radius r. What is the area of the square?

más de 1 año hace

Resuelto


Find the Nth Root of a Given Number
Find the Nth root of a given number x. Examples x = 4096 n = 4 y = 8 x = 625 n = 5 y = 3.6239

más de 1 año hace

Resuelto


Area of a triangle
A triangle is given with base *'b'* ,vertical hight *'h'* . then find it's area.

más de 1 año hace

Resuelto


Double all elements in the array
Duplicate all elements in the array

más de 1 año hace

Resuelto


Multiply a column by a row
* Given a column vector C and and a row vector R. * Output a matrix M. * Every column of M equals to C multiplied by correspon...

más de 1 año hace

Resuelto


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

más de 1 año hace

Resuelto


Find the area of a triangle
Given a triangle with a base b and height h, return the triangle area.

más de 1 año hace

Resuelto


the average value of the elements
Calculate the average value of the elements in the array

más de 1 año hace

Resuelto


easy problem
Find the last element of the array

más de 1 año hace

Resuelto


calculate the length of matrix
input 1 array, calculate the length

más de 1 año hace

Resuelto


Square a Number
Given an input x, return y, which is equal to the square of x.

más de 1 año hace

Resuelto


Create a Matrix of Zeros
Given an input x, create a square matrix y of zeros with x rows and x columns.

más de 1 año hace

Resuelto


Square root
Given x (a matrix), give back another matrix, where all the elements are the square roots of x's elements.

más de 1 año hace

Resuelto


free points
function y = your_fcn_name(x) y = x(1)+x(2); end

más de 1 año hace

Resuelto


Return area of square
Side of square=input=a Area=output=b

más de 1 año hace

Resuelto


Maximum value in a matrix
Find the maximum value in the given matrix. For example, if A = [1 2 3; 4 7 8; 0 9 1]; then the answer is 9.

más de 1 año hace

Resuelto


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

más de 1 año hace

Resuelto


Add two numbers
Given a and b, return the sum a+b in c.

más de 1 año hace

Cargar más