Resuelto


Delete the column with all 0 !
Delete the column with all 0 data in a matrix(x). e.g. input x = 1 0 0 4 5 0 7 0 ...

alrededor de 9 años hace

Resuelto


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

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

alrededor de 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

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

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

alrededor de 9 años hace

Resuelto


Explode string
Break a sentence into cell of words

alrededor de 9 años hace

Resuelto


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

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

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

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

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

alrededor de 9 años hace

Resuelto


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

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

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

alrededor de 9 años hace

Resuelto


Non trivial identities - reshape
Return x by reshaping it.

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

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

alrededor de 9 años hace

Resuelto


square root
Find square root of given number

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

alrededor de 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?

alrededor de 9 años hace

Resuelto


Nth root
Nth root of a number x

alrededor de 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 :)

alrededor de 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

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

alrededor de 9 años hace

Resuelto


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

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

alrededor de 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]

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

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

alrededor de 9 años hace

Cargar más