Solved

Matrix Ax=B problem
Take a incoming A and B vector, and solve for x

3 Tage ago

Solved

Generate the sum of Squares of the given number
|P(n) = 1^2 + 2^2 + ... + n^2| |P(1) = 1| |P(2) = 1 + 4 = 5;| |P(3) = 5 + 9 = 14;| |P(4) = 14 + 16 = 30;|

3 Tage ago

Solved

Rotate it!
Given a set of points, your aim is to rotate it by a given angle "theta" CCW (in 2d). The points are given in a matrix(x) of dim...

3 Tage ago

Solved

Automatic String Editing
In this function, you will take an incoming string, and output the same string with each character one letter later in the alpha...

3 Tage ago

Solved

Simple String Concatenation
This is a simple problem involving taking two incoming strings, and outputting the concatenated string with a space separating t...

3 Tage ago

Solved

More Simple String Concatenation
Take the first string input, reverse the order of the string from the end to beginning (i.e. apple becomes elppa), add a space a...

3 Tage ago

Solved

Generate this matrix
For a given odd integer n, generate a matrix as follows: Input: n = 5; Output: [ 2 1 0 0 0 1 ...

3 Tage ago

Solved

The Matrix Construction
Given two input ,first one is CN (Column Number), Second one is Dim Can you produce such a matrix for example CN=6; Dim=2 ...

3 Tage ago

Solved

Multiplication
Multiply two numbers in a different manner. The numbers are given to you as vectors x and y. Example x = [ 1 2 0 1 ] ...

3 Tage ago

Solved

Matrix Construction I
Given n, construct a matrix as shown in the example below. Example For n=8, the output should look like this: 1 2 3 4 ...

3 Tage ago

Solved

the number of inputs
Find the number of the inputs of the function. example y = theinputnumber(x,k); function called theinputnumber has 2 in...

3 Tage ago

Solved

intervals
Write a function that takes an interval from a to b, and divides it into 6 parts.

3 Tage ago

Solved

Find x in provided equation!
x^2-2*x+1=0 This polynomial can be expressed by using each term's coefficients, such as [1 -2 1]. Using the polynomial ...

3 Tage ago

Solved

Calculate solution of given polynomial
For example, y=function([3 -2 -4]) In here, input vector indicate 3*x^2-2*x-4, y is solution of former equation. y=[1.5...

3 Tage ago

Solved

wipe out!
make all the elements in given x zero.

3 Tage ago

Solved

Sum the rows
Sum the rows of the given matrix. Example x = [ 1 2 3 4 ] y = [ 3 7 ]

3 Tage ago

Solved

Replace all odd numbers with NaN
Replace all odd numbers in the vector or matrix with NaN. For example, if x = [1 3 4 5 8 11]; then return y = [NaN Na...

3 Tage ago

Solved

Where is the number that you want to find?
For a given matrix A, find where the input number x appears. Do this task by returning the vector which contains the row and th...

3 Tage ago

Solved

find the 'M'
for an input x, return 1 at the location of the letter 'M'

3 Tage ago

Solved

determine if
determine if the elements of a matrix is a nan and return true

3 Tage ago

Solved

Increment up an input vector
Increment up an input vector by adding the indices to the vector values. For example, if an input vector is [3, 2, 6, 1, 6], the...

3 Tage ago

Solved

0, 2, 0, -2, 0, 2, 0, -2, ...
Generate the first n terms of a periodic sequence defined as f(x) = 0, 2, 0, -2, 0, 2, 0, -2, ..., for x = 1, 2, 3, 4, 5, 6...

3 Tage ago

Solved

Make an identity matrix whose diagonal elements are 1:n
For a given input n, make an n by n identity matrix that contains the elements 1:n along its diagonal. For example, if input=5: ...

3 Tage ago

Solved

Find the maxmum value of N*N Matrix
Input x=[1 2 3; 4 5 6; 7 8 9] output: y=9

3 Tage ago

Solved

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)

3 Tage ago

Solved

row removal
Remove the nth row from input matrix M and return the resulting matrix in output N.

3 Tage ago

Solved

Sum the entries of each column of a matrix which satisfy a logical condition.
Given a numeric matrix A and a logical array L of the same size as A, return a row vector S containing the columnwise sums of th...

3 Tage ago

Solved

"Find out the best cricket"
This is how I originally read Problem 2013, so let's just go with it. Give me the first and last name of the best cricket, rega...

3 Tage ago

Solved

Simple date to serial no. conversion
Convert a date string to a serial date number. For example if you take x='19-May-2001' then the result is 730990 x...

3 Tage ago

Solved

Solve the set of simultaneous linear equations
Given this pair of simultaneous linear equations: 2x + 3y = 23 3x + 4y = 32 Find the solution set (x,y)

3 Tage ago