Resuelto


find out eigenvector of matrix
find out eigenvector of matrix A =eye(3); Answer is [0 0 1; 0 1 0; 1 0 0];

más de 1 año hace

Resuelto


Generate vector according to sign of vector
Generate vector according to sign of vector Example: If A=[-2 0 5] then output must be[-1 0 1] meaning that for negative n...

más de 1 año hace

Resuelto


Create Vector containing following elements
Create Vector containing following elements A=[pi eps NaN inf -inf flintmax];

más de 1 año hace

Resuelto


Create an array from 1 to x in steps of 1.

más de 1 año hace

Resuelto


More Simple String Concatenation
Take the first string input, reverse the order of the string from the end to beginning (i.e. apple becomes elppa), add a space a...

más de 1 año hace

Resuelto


Simple String Concatenation
This is a simple problem involving taking two incoming strings, and outputting the concatenated string with a space separating t...

más de 1 año hace

Resuelto


Resizing Matrices
Take an 4x3 matrix, and resize it to a 2x6 matrix

más de 1 año hace

Resuelto


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

más de 1 año hace

Resuelto


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

más de 1 año hace

Resuelto


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

más de 1 año hace

Resuelto


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

más de 1 año hace

Resuelto


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

más de 1 año hace

Resuelto


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

más de 1 año hace

Resuelto


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

más de 1 año hace

Resuelto


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

más de 1 año hace

Resuelto


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

más de 1 año hace

Resuelto


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

más de 1 año hace

Resuelto


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]

más de 1 año hace

Resuelto


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.

más de 1 año hace

Resuelto


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

más de 1 año hace

Resuelto


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

más de 1 año hace

Resuelto


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

más de 1 año hace

Resuelto


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

más de 1 año hace

Resuelto


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

más de 1 año hace

Resuelto


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

más de 1 año hace

Resuelto


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

más de 1 año hace

Resuelto


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

más de 1 año hace

Resuelto


Round to Nearest Multiple of 10^n

más de 1 año hace

Resuelto


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

más de 1 año hace

Resuelto


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

más de 1 año hace

Cargar más