已解决


Determine if input is greater than 100
Evaluate if given number is greater than 100. If greater, return true; else, return false.

2 years 前

已解决


Find the mean of two vectors
Take two vectors, and output the mean of them (bonus if you don't use the in-built mean function)

2 years 前

已解决


Replace 0 indices in array with 1's
Take a incoming vector, and replace 0's with ones

2 years 前

已解决


Resizing Matrices
Take an 4x3 matrix, and resize it to a 2x6 matrix

2 years 前

已解决


Matrix Max Finder
Output the maximum value in a matrix

2 years 前

已解决


Variance computation (★)
Given a vector x with several values, compute the variance, whose formula is given by: <<https://i.imgur.com/Wg95KBE.gif>> ...

2 years 前

已解决


Vector raised to a power, element-wise (★)
Given a vector A and a number x, raise each element of the vector to the power of x. Thus, if A = [2 5 7 1] and x = 0.5, then ...

2 years 前

已解决


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

2 years 前

已解决


Are you in XY plane?
Take a point P as an input position Vector (x,y,z). If you are in XY plane, return 1 as an output otherwise return 0. Example...

2 years 前

已解决


A times B
A times B

2 years 前

已解决


Matrix Indexing
Given a matrix A and scalars r,c,i, find the product of two elements, with the first element located at row r and column c (doub...

2 years 前

已解决


*Prime number check 2 (in construction)
Another way to see if a number is prime is to count the number of factors. For example, the number 4 has 2 factors, [ 2 4 ]...

2 years 前

已解决


Function 1 (★)
Compute the value of <<https://i.imgur.com/AxKWLmE.gif>> for any given positive x.

2 years 前

已解决


PEMDAS test (★★)
Create the function that will return the following expression for x and y. <<https://i.ibb.co/RHWyzrv/Code-Cogs-Eqn-1.gif>> ...

2 years 前

已解决


Create logarithmically spaced values (★)
Given three numbers a,b,n with b>a, create a vector y with n logarithmic spaced values between 10^a and 10^b. Thus, if a = -2, ...

2 years 前

已解决


Column Removal (★★★)
(copy of prob 7) Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2...

2 years 前

已解决


Vector creation using linspace
Create a vector y containing n uniformly spaced values between a and b, with a < b. Use linspace.

2 years 前

已解决


Create a vector of the first n natural numbers (★)
If n = 7, your program should return a vector y, where y = [1 2 3 4 5 6 7].

2 years 前

已解决


Calculating selling price
Cost of a Product is $x What should be the selling price if you want to gain 10%?

2 years 前

已解决


Halder function
Find the halder function value of a number

2 years 前

已解决


find a specific element from an matrix
Find the element from matrix which is in 2nd row and 3rd column.

2 years 前

已解决


multiply an array by its position number
You have given an array. Multiply an array by its position number

2 years 前

已解决


find the mean of all elements in a matrix
given a matrix, just find the mean of all elements in the matrix

2 years 前

已解决


Find remainder when x is divided by 3
Find remainder when x is divided by 3

2 years 前

已解决


Doubling elements in a vector (★★)
(copy of prob. 1024) Given the vector A, return B in which all numbers in A are doubling. So for: A = [ 1 5 8 ] t...

2 years 前

已解决


Median computation (★)
Given a vector of values, compute the median. The median is defined as the middle value in a set of *sorted* data. Thus, if ...

2 years 前

已解决


Select every other element of a vector (★★)
(copy of prob 6) Write a function which returns every other element of the vector passed in. That is, it returns the all odd-...

2 years 前

已解决


Sum of elements in a vector (★)
(copy of Prob. 3) Find the sum of all the numbers of the input vector x. Input x = [1 2 3 5] Output y is 11 <> ...

2 years 前

已解决


Element-wise vector product (★)
Given two vectors x and y, compute their element-wise product z. Thus, if x = [1 3 5] and y = [0.5 -1 2], then z = [1*0.5...

2 years 前

加载更多