Resuelto


Solution to Ax=b with singular A
Find solution to Ax=b problem if A is singular. Hint: Compute a minimum norm solution

alrededor de 10 años hace

Resuelto


Calculate vowel / consonant ratio of a string
Given a string, calculate the ratio of vowels to consonants for example : x = 'This is a very good Day!' y = 7/11

alrededor de 10 años hace

Resuelto


Find the numeric characters in a string and return their index
Given a string S, return the index of any numeric characters. S = 'The next meeting will be held in 2 weeks.'; idx = fin...

alrededor de 10 años hace

Resuelto


ESEMPIO
controllo uso funzioni

alrededor de 10 años hace

Resuelto


Solve the following system of equations.
x-2y+3z=a 2x+y+z=4 -3x+2y-2z=-10

alrededor de 10 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 10 años hace

Resuelto


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

alrededor de 10 años hace

Resuelto


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

alrededor de 10 años hace

Resuelto


Replace NaNs with the number that appears to its left in the row.
Replace NaNs with the number that appears to its left in the row. If there are more than one consecutive NaNs, they should all ...

alrededor de 10 años hace

Resuelto


Calculate the eigenvalues of A.
Calculate the sum of the eigenvalues of A. If it's odd return cubed else return 54.

alrededor de 10 años hace

Resuelto


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

alrededor de 10 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 10 años hace

Resuelto


Return the length of the longest word in the string.
Example: Input s='A fractal is a natural phenomenon or a mathematical set that exhibits a repeating pattern that display...

alrededor de 10 años hace

Resuelto


Calculate geostrophic current
eta0=0.01; R=300; f=0.01; g=9.81; x=-500:50:500; y=-500:50:500; [x y]=meshgrid(x,y); eta=eta0*exp(-(x.^2+...

alrededor de 10 años hace

Resuelto


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

alrededor de 10 años hace

Resuelto


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

alrededor de 10 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 10 años hace

Resuelto


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

alrededor de 10 años hace

Resuelto


how to convert given text into all upper case letters?
how to convert given text into all upper case letters?

alrededor de 10 años hace

Resuelto


Find x in provided equation!
x^2-2*x+1=0 This polynomial can be expressed by using each term's coefficients, such as [1 -2 1]. Using the polynomial ...

alrededor de 10 años hace

Resuelto


sum of ASCII
Given a string x, return the sum of all ASCII numbers of all characters. for example, if x='lala' ('l'-> 108, 'a'->97) then y...

alrededor de 10 años hace

Resuelto


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

alrededor de 10 años hace

Resuelto


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

alrededor de 10 años hace

Resuelto


My cat likes strings!!
Create a string of specified length or more. It's that simple!

alrededor de 10 años hace

Resuelto


What does the "B" in Benoit B Mandelbrot stand for?
Tip https://en.wikipedia.org/wiki/Mandelbrot_set

alrededor de 10 años hace

Resuelto


Remove multiples of N
in the vector x remove all multiples of N. x = [1 2 3 4 5 6]; N = 2; Then y = [1 3 5];

alrededor de 10 años hace

Resuelto


Create square matrix with given conditions.
Create square matrix which should be like given matrix M. M = [ n^2 n*(n-1) n*(n-2) ... n*2 n; n*(n-1)...

alrededor de 10 años hace

Resuelto


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

alrededor de 10 años hace

Resuelto


Count the numbers
In a array x, count the number of times the number n appears in x. for example: x = [1 2 3 4 3 2 1 2] and n = 2 the answer sh...

alrededor de 10 años hace

Resuelto


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

alrededor de 10 años hace

Cargar más