Resuelto


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

casi 9 años hace

Resuelto


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

casi 9 años hace

Resuelto


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

casi 9 años hace

Resuelto


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.

casi 9 años hace

Resuelto


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

casi 9 años hace

Resuelto


Explode string
Break a sentence into cell of words

casi 9 años hace

Resuelto


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

casi 9 años hace

Resuelto


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

casi 9 años hace

Resuelto


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

casi 9 años hace

Resuelto


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

casi 9 años hace

Resuelto


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

casi 9 años hace

Resuelto


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

casi 9 años hace

Resuelto


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

casi 9 años hace

Resuelto


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

casi 9 años hace

Resuelto


Non trivial identities - reshape
Return x by reshaping it.

casi 9 años hace

Resuelto


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

casi 9 años hace

Resuelto


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

casi 9 años hace

Resuelto


square root
Find square root of given number

casi 9 años hace

Resuelto


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

casi 9 años hace

Resuelto


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?

casi 9 años hace

Resuelto


Nth root
Nth root of a number x

casi 9 años hace

Resuelto


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

casi 9 años hace

Resuelto


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

casi 9 años hace

Resuelto


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.

casi 9 años hace

Resuelto


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

casi 9 años hace

Resuelto


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

casi 9 años hace

Resuelto


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]

casi 9 años hace

Resuelto


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

casi 9 años hace

Resuelto


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

casi 9 años hace

Resuelto


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

casi 9 años hace

Cargar más