Gelöst


Solve the system of equations.
_Ax=b_ * _A_ - square coefficient matrix * _b_ - right side column vector Find vecor _x_.

etwa 10 Jahre vor

Gelöst


Return amount of palindromes in the string.
Example Input: s='eye story pop dictionary noon enjoy software moon' Output: amount=3

etwa 10 Jahre vor

Gelöst


For given vectors x,y find coresponding spline coefficients.
For given vectors x,y find coresponding spline coefficients. Example x =[ -3 -2 0 2 3] y =[ 0 0 1 ...

etwa 10 Jahre vor

Gelöst


Find product of eigenvalues of n*n magic matrix.
Find product of eigenvalues of n*n magic matrix. Example n=3 Matrix= [ 8 1 6; 3 5 7; 4 ...

etwa 10 Jahre vor

Gelöst


Calculate the sum of elements of n*n Hilbert matrix.
Calculate the sum of elements of n*n Hilbert matrix. Example n=5 HilbertMatrix=[1.0000 0.5000 0.3333 0.2500 ...

etwa 10 Jahre vor

Gelöst


Find area.
Suppose <<https://www.mathworks.com/help/examples/matlab/ImproperIntegralExample_eq17103907294130514984.png>> b=Inf. Fi...

etwa 10 Jahre vor

Gelöst


Find cosine between two given vectors u and v.
Find cosine between two given vectors u and v. Example u = [5 2 0 5 3 0]; v = [3 2 5 1 ...

etwa 10 Jahre vor

Gelöst


Find Euclidean norm of given vector u.
Find Euclidean norm of given vector u. https://en.wikipedia.org/wiki/Euclidean_distance Example x=[1 1] result=sqrt(1^2+1^2...

etwa 10 Jahre vor

Gelöst


Find scalar product of two polynomials a and b, given as vector array.
Find scalar product of two polynomials given as vector array. Example a=[1 -1 2]; b=[2 4 1]; result=0

etwa 10 Jahre vor

Gelöst


Calculate roots of polynomial given as vector array.
Calculate roots of polynomial given as vector array. Example x=[1 2 0 5 0 3] result=[-2.7267 ; ...

etwa 10 Jahre vor

Gelöst


pizza deals
Given two pizza slices of different sizes: * Slice A with angle alpha1, radius r1 and price p1 * Slice B with angle alpha2, ...

etwa 10 Jahre vor

Gelöst


Get derivarive of polynomial given as vector array.
Get derivarive of polynomial given as vector array. Example p=[ 1 2 0 5 0 3 ]; result=[ 5 8 0 10 ...

etwa 10 Jahre vor

Gelöst


Zero padding
Create y = {'01';'02';'03';'04';'05';'06';'07';'08';'09';'10'} from x = 1:10

etwa 10 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 10 Jahre vor

Gelöst


Divide polynomial p1 by p2.
Divide polynomial p1 by p2 given as vectors. Return result q and r vectors which corresponds the quotient and remainder of divis...

etwa 10 Jahre vor

Gelöst


Calculate the values of a polynomial.
Calculate the values of a polynomial.Input parameter p - vector of polynomial coefficients, x - matrix of the argument values. ...

etwa 10 Jahre vor

Gelöst


Multiply two polynomials p and q given in in vector representation.
Multiply two polynomials p and q given in vector representation. Example p=[-2 0 1 -1 3 2] q=[1 0 -1 2 ...

etwa 10 Jahre vor

Gelöst


Opposite task convert string hexadecimal numbers array into array of decimal numbers .
Opposite task convert string hexadecimal numbers array into array of decimal numbers . Example x=[ '208'; '209'; '20A'; ...

etwa 10 Jahre vor

Gelöst


Opposite task convert binary numbers array into array of decimal numbers.
Opposite task convert binary numbers array into array of decimal numbers. Example x=[ 11001000 ; 11001001 ; 11001010 ...

etwa 10 Jahre vor

Gelöst


Sort rows of a matrix
Sort rows of matrix A in an ascending order according to the last column Example input: A = [1 2 3;7 8 9;4 5 6]; Exam...

etwa 10 Jahre vor

Gelöst


Logical array indexing - part 1
Given an array |A| of size |m x n| , return an array |Y| of the same size such that the following conditions are satisfied. (...

etwa 10 Jahre vor

Gelöst


make histogram
You probably know the function hist(x,n) to get the histogram. Now try to write the function yourself! For the cheaters wanti...

etwa 10 Jahre vor

Gelöst


Sample from random roulette
Given a list of values and their probabilities sample 10.000 values. Example: x = [1 2 3 4 5]; prob = [0.2 0.1 0.4 0....

etwa 10 Jahre vor

Gelöst


Number of elements in matrix
Calculate the # of elements for given matrix

etwa 10 Jahre vor

Gelöst


Number of nonzero elements in matrix
Calculate the number of nonzero elements for given matrix

etwa 10 Jahre vor

Gelöst


Convert array of decimal numbers into binary numbers array.
Convert array of decimal numbers into binary numbers array. Example x = [1 2 3 4 5 6 7 8 ]; re...

etwa 10 Jahre vor

Gelöst


Convert array of decimal numbers into hexadecimal numbers array.
Convert array of decimal numbers into hexadecimal numbers array. Example x =[ 32 33 34 35 36 37 38 ...

etwa 10 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 10 Jahre vor

Gelöst


Find the sum of the negative elements under the main diagonal.
Example Input A=[1 2; -3 0] Output -3

etwa 10 Jahre vor

Gelöst


Reduce the logic
We have three logical input, x,y and z. The output is: y = ((x&y)|z)&((z|x&y)|(z&y|x))|((x&z)|z)&((y|x&z)|(z&x|y))|(x|y|z) ...

etwa 10 Jahre vor

Mehr laden