已解决


Matrix element wise multiplication
Take two incoming vectors, and multiply them element wise

1 day 前

已解决


Matrix Ax=B problem
Take a incoming A and B vector, and solve for x

1 day 前

已解决


Return median of a matrix
Compute median of a matrix of any dimension. Exclude the NaNs if any.

1 day 前

已解决


Remove white spaces at the end of the input string
Remove all trailing white spaces at the end of the input strings

1 day 前

已解决


Nth root of a number
Given an input and a number N, find the Nth root of the number(s)

1 day 前

已解决


Sum of unique multiples of 3 and 5
If we list all the natural numbers up to 15 that are multiples of 3 or 5, we get 3, 5, 6, 9, 10, 12 and 15. The sum of these mul...

1 day 前

已解决


Product of all elements in an array
Compute the product of all elements in an array.

1 day 前

已解决


Find NaNs in the matrix
Return 1s wherever there is a NaN in the input matrix

1 day 前

已解决


Determine if input is greater than pi
Evaluate if given number is greater than pi. If greater, return true; else, return false.

1 day 前

已解决


Determine if input is greater than 100
Evaluate if given number is greater than 100. If greater, return true; else, return false.

1 day 前

已解决


Union of two set decreasing order
Union of two set decreasing order Say, x=[1 2 5] and y=[5 7 8] then answer must be [8 7 5 2 1]

1 day 前

已解决


For a given linear index as input for n sized square matrix, find corresponding row and column.
If input is 1, the row and column will be 1 and 1 respectively.

1 day 前

已解决


Create a New_Word
The output of the function is a new word created from the word entered into the function. The new word is created by deleting th...

1 day 前

已解决


Find the distance traveled by a car given velocity and time.
A car is traveling at a constant velocity for a specific amount of time. The function should use the two inputs, velocity and ti...

1 day 前

已解决


Find the number of primes less than input
Given an integer n, determine the number of primes less than or equal to n.

1 day 前

已解决


Upper triangular matrix
Create a function to retrieve the upper triangular matrix of a matrix (without using tril). The matrix will always be square. ...

1 day 前

已解决


Given a matrix X, manipulate it accordingly
Given a matrix X, 1st add a column to the matrix whose elements are the summation of each rows. Then add a row to the matrix who...

1 day 前

已解决


Find alternating sum
Given an array, find alternating sum i.e. – y = x (1) – x (2) + x (3) – x (4) + x (5) - …

1 day 前

已解决


An array is given. Find the unique elements of the array. [keep the sequence unchanged]
An array is given. Find the unique elements of the array. [keep the sequence unchanged] For example if input x=[2 ,4 , 9 ,2 ,...

1 day 前

已解决


Cody Matlab Version
What is the current Cody Matlab Release? *Output:* string *Examples:* '(R2012a)' or 'R2012a' Hint: We have mo...

1 day 前

已解决


rotation et mise à l'échelle avec des complexes
Ecrire une fonction Zr=scale_rot(A,phi,Z) qui permet une mise à l'échelle d'un facteur A et une rotation d'un angle phi (en rad)...

1 day 前

已解决


compter le nombre de zéros dans une matrice
écrire une fonction count_zeros qui prend en entrée une matrice M et détermine le nombre de zéros dans une matrice

1 day 前

已解决


findPositiveEvenNumbers
Write a MATLAB function findPositiveEvenNumbers that takes an array of integers as input and returns a new array containing only...

1 day 前

已解决


Sum of Squares
Given a vector v of length n, write a MATLAB function to calculate the sum of the squares of its elements.

1 day 前

已解决


A times B
A times B

1 day 前

已解决


Bag of apples
find probabilty of getting red apples from a bag of 'r' red and 'g' green apples.

1 day 前

已解决


Volume of this donut
Given hole diameter a, and outermost diameter b, determine the volume y of the resulting donut.

1 day 前

已解决


Volume of a sphere given its surface area
You just measured its surface area, that is the input.

1 day 前

已解决


Power The Product
EXAMPLE: INPUT x=10 & y=10 OUTPUT z=1000000 or, INPUT x=2 & y=3 OUTPUT z= 216 you just need to calculate the product first...

1 day 前

加载更多