Solved


Replace Nan!
Replace Nan in the given vector(v) with 9999.

8 years ago

Solved


Laguerre Polynomial
Create a square lower diagonal matrix containing the first n Laguerre Polynomial coefficients. For n=6, the Laguerre Matrix is: ...

8 years ago

Solved


Creating a code via test suite :)
Given the test suites, create a code that would fit them :) *Clue: Pascal's Triangle

8 years ago

Solved


Subtract integers and add doubles
Create a function that subtracts a from b if a and b are integers and adds them if they are floats.

8 years ago

Solved


Persistence will help you solve almost any problem.
Create a function without inputs that adds one to the output every time it is called. a = counterfun; disp(a) >> 1 ...

8 years ago

Solved


Explode string
Break a sentence into cell of words

8 years ago

Solved


Find the Sum of the Series:
<<https://psv4.vk.me/c810428/u48725350/docs/03e9821af0aa/for.jpg?extra=iyw_6UQfL0GhDJ2NtppzhQFjAvaCe79tBk0IIpSRcn5jRJvUgdAe4u7KP...

8 years ago

Solved


Namespace
Create a set of n variable names 'a_1',...,'a_n' The result should be a column oriented cell array of strings. Example inp...

8 years ago

Solved


For given xx,x, y vectors build spline of x and y and find yy values for xx vector.
For given xx,x, y vectors build spline of x and y and find yy values for xx vector. Example x = [ 1.0000 1.5000 2.00...

8 years ago

Solved


Matrix to 3-Column Matrix
Consider a matrix *A* such as A = [1 2 3 3 4 5 6; 2 3 4 5 6 7 8]; Can you convert this matrix to a three-column ...

8 years ago

Solved


Convex Hull Capture
Imagine four points in uv that form a square. uv = [ ... 0,0; 0,2; 2,2; 2,0]; Now we have two more po...

8 years ago

Solved


Divisible by 21
Write a function to determine if a number is divisible by 21.

8 years ago

Solved


Area of a Square
Given the length x of the side of a regular square, find the area of the square, A.

8 years ago

Solved


Find my secret function I
If give my function a x value it will give me a y value, so find the secret of it: Examples: input x=[2 5 6 8 9] ---- >>> o...

8 years ago

Solved


Non trivial identities - reshape
Return x by reshaping it.

8 years ago

Solved


Find the sides of an isosceles triangle when given its area and height from its base to apex
Find the sides of an isosceles triangle when given its area and the height from its base to apex. For example, with A=12 and ...

8 years ago

Solved


Wrap-around effect
In vector x of length n we define (n+1) position as going back to the first position (so called wrap-around effect). Can you ret...

8 years ago

Solved


square root
Find square root of given number

8 years ago

Solved


Find Adjacency Matrix
Graph is undirected. (s,t) in node pairs. Please, return full storage version of the matrix.(use _full(A)_ ) Input: s...

8 years ago

Solved


Counting votes
x is a vector of votes, e.g. x=[1 2 3 2 2 1 3 2 1 2 2 2 2], who is the winner? 1,2,3?

8 years ago

Solved


Nth root
Nth root of a number x

8 years ago

Solved


Upper Matrix in LU Decompositon
Get the Triangular Upper Matrix of the Matrix Given You cannot use built-in Matlab functions triu :)

8 years ago

Solved


Find the product of the positive elements above the main diagonal.
Example Input A=[1 2; -3 0] Output 2

8 years ago

Solved


Sum all integers from 1 to 2^x
Given a number x, your function must return the summation of all integers from 1 to 2^x.

8 years ago

Solved


Find the volume of cone
Find the volume of cone, when given radius(r) and height(h).

8 years ago

Solved


Percentage profit:5: Cumulative Interest
If a bank is giving r% yearly cumulative interest for deposit, how much profit we can get by keeping x amount of money for n mon...

8 years ago

Solved


Shift elements of vector left
Shift elements of vector to the left. For ex. : Input_vec = [1 2 3 4 5] Output_vec = [2 3 4 5 1]

8 years ago

Solved


Remove collinear points in a set of 2D points defining a polygon
Consider a polygon that is obtained by joining a set of 2D points whose coordinates are stored in matrix P=[x,y]. Write a functi...

8 years ago

Solved


Who have the chance?
Obtain a free 10 score in cody, if you have a chance don't change anything if you want to try or do what you can do to gain for ...

8 years ago

Solved


How brilliant are you?
A Brilliant number is defined as a number with two prime factors, both of which have the same number of digits. Some examples: ...

8 years ago

Load more