Solved


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

2 years ago

Solved


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

2 years ago

Solved


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

2 years ago

Solved


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

2 years ago

Solved


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

2 years ago

Solved


to the 2 all elements
to the 2 all elements

2 years ago

Solved


Celsius to Kelvin
Convert Celsius degrees to Kelvin temperature.

2 years ago

Solved


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

2 years ago

Solved


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

2 years ago

Solved


Temperature Conversion 1

2 years ago

Solved


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

2 years ago

Solved


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

2 years ago

Solved


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

2 years ago

Solved


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

2 years ago

Solved


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

2 years ago

Solved


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

2 years ago

Solved


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

2 years ago

Solved


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

2 years ago

Solved


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

2 years ago

Solved


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

2 years ago

Solved


easy problem
Find the last element of the array

2 years ago

Solved


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

2 years ago

Solved


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

2 years ago

Solved


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

2 years ago

Solved


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

2 years ago

Solved


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

2 years ago

Solved


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

2 years ago

Solved


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.

2 years ago

Solved


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

2 years ago

Solved


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

2 years ago

Load more