Gelöst


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

etwa 9 Jahre vor

Gelöst


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

etwa 9 Jahre vor

Gelöst


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

etwa 9 Jahre vor

Gelöst


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

etwa 9 Jahre vor

Gelöst


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.

etwa 9 Jahre vor

Gelöst


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

etwa 9 Jahre vor

Gelöst


Explode string
Break a sentence into cell of words

etwa 9 Jahre vor

Gelöst


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

etwa 9 Jahre vor

Gelöst


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

etwa 9 Jahre vor

Gelöst


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

etwa 9 Jahre vor

Gelöst


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

etwa 9 Jahre vor

Gelöst


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

etwa 9 Jahre vor

Gelöst


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

etwa 9 Jahre vor

Gelöst


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

etwa 9 Jahre vor

Gelöst


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

etwa 9 Jahre vor

Gelöst


Non trivial identities - reshape
Return x by reshaping it.

etwa 9 Jahre vor

Gelöst


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

etwa 9 Jahre vor

Gelöst


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

etwa 9 Jahre vor

Gelöst


square root
Find square root of given number

etwa 9 Jahre vor

Gelöst


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

etwa 9 Jahre vor

Gelöst


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?

etwa 9 Jahre vor

Gelöst


Nth root
Nth root of a number x

etwa 9 Jahre vor

Gelöst


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

etwa 9 Jahre vor

Gelöst


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

etwa 9 Jahre vor

Gelöst


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.

etwa 9 Jahre vor

Gelöst


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

etwa 9 Jahre vor

Gelöst


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

etwa 9 Jahre vor

Gelöst


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]

etwa 9 Jahre vor

Gelöst


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

etwa 9 Jahre vor

Gelöst


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

etwa 9 Jahre vor

Mehr laden