Risolto


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

oltre 2 anni fa

Risolto


Find the sines of an isosceles triangle when given its area and height
Find the sines of an isosceles triangle when given its area and height. For example, when A=12 and h=4, the result is [0.8 0.8 ...

oltre 2 anni fa

Risolto


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

oltre 2 anni fa

Risolto


Set x value to each even index of vector y.
Set x value to each even index of vector y.

oltre 2 anni fa

Risolto


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

oltre 2 anni fa

Risolto


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

oltre 2 anni fa

Risolto


Compare two strings.
Compare two strings, whether they are equal or not.

oltre 2 anni fa

Risolto


Count given word x in text.
Count how many times given word x repeats in text.

oltre 2 anni fa

Risolto


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

oltre 2 anni fa

Risolto


Who knows the last digit of pi?
There is only one man who knows the last digit of pi, who is that man? Give the name of that man, who, by popular believe, can ...

oltre 2 anni fa

Risolto


Matrix Rotation
Write a MATLAB function that rotates a given matrix by 90 degrees clockwise. The rotation should be performed in-place, without ...

oltre 2 anni fa

Risolto


Reversing Maximal Ascending Subsequences
Create and return a new array that contains the same elements as the input array, but with the elements within each strictly inc...

oltre 2 anni fa

Risolto


Find the triplet
Given an array x of size n > 3 and an integer N, return the indices of three elements in the array that sum up to the given inte...

oltre 2 anni fa

Risolto


Perfect shuffle
We call "perfect shuffle" the process of cutting a deck of cards into two equal halves, and then perfectly interleaving them: on...

oltre 2 anni fa

Risolto


Kinetic Energy
Given the mass m and velocity v of an object, determine its <http://en.wikipedia.org/wiki/Kinetic_energy kinetic energy>.

oltre 2 anni fa

Risolto


Determinants
Given a square matrix(A), find the determinant(d). For example: A = [1,3;4,5] d = 1*5-4*3 = -7

oltre 2 anni fa

Risolto


Min-Max digit

oltre 2 anni fa

Risolto


Pivot index
Let L be a vector of numbers. We are searching for the index n of the pivot element defined as follows: the dot product of the e...

oltre 2 anni fa

Risolto


JannaT is Loved By Me
JannaT was sTarTed loved by me and that time was in 2020. A year when JannaT will starT loving me when the year divided from th...

oltre 2 anni fa

Risolto


Ripping numbers apart!
So you have to "rip" a number apart into individual digits... The end output is a cell. That is if: x = 12345678 o...

oltre 2 anni fa

Risolto


List primes of the form xy+z
Consider three consecutive integers , , and . When is the number prime? For example, if or , then the results are 17 and 37, ...

oltre 2 anni fa

Risolto


Range of Values in a Matrix
Create a function that accepts a matrix of real numbers as input and returns the range of the values contained in the matrix. Th...

oltre 2 anni fa

Risolto


Summation of Non Zeros Numbers in String Variable
Find the Summation of Non Zeros Numbers in String Variable The input : x = '100205' The Output : y = 8

oltre 2 anni fa

Risolto


Remove a specific row with max value
Remove the row that contain the max value in the matrix? If you like the problem, please like it :)

oltre 2 anni fa

Risolto


Remove a specific row with min value
Remove the row that contain the min value in the matrix? If you like the problem, please give it a like:)

oltre 2 anni fa

Risolto


Remove a specific column with max value
Remove the column that contain the max value in the matrix? If you like the problem, please give it a like:)

oltre 2 anni fa

Risolto


Remove a specific column with min value
Remove the column that contain the min value in the matrix? If you like the problem, please give it a like:)

oltre 2 anni fa

Risolto


Swap between rows
The idea is to swap between second and second last row Ex = [1 2 3 4 5; 5 4 3 2 1; 1 2 3 4 5; 1 2 3 4 5; ...

oltre 2 anni fa

Risolto


Swap between first and last
The idea is to swap between first and last row Ex = [1 2 3 4 5; 1 2 3 4 5; 1 2 3 4 5; 1 2 3 4 5; ...

oltre 2 anni fa

Risolto


Merge two integers
We want to merge the digits of two integers having the same number of digits to obtain a new integer whose digits are obtained b...

oltre 2 anni fa

Carica altro