A résolu


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

plus d'un an il y a

A résolu


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

plus d'un an il y a

A résolu


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

plus d'un an il y a

A résolu


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

plus d'un an il y a

A résolu


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

plus d'un an il y a

A résolu


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

plus d'un an il y a

A résolu


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

plus d'un an il y a

A résolu


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

plus d'un an il y a

A résolu


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

plus d'un an il y a

A résolu


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

plus d'un an il y a

A résolu


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

plus d'un an il y a

A résolu


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

plus d'un an il y a

A résolu


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

plus d'un an il y a

A résolu


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

plus d'un an il y a

A résolu


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]

plus d'un an il y a

A résolu


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.

plus d'un an il y a

A résolu


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

plus d'un an il y a

A résolu


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

plus d'un an il y a

A résolu


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

plus d'un an il y a

A résolu


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

plus d'un an il y a

A résolu


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

plus d'un an il y a

A résolu


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

plus d'un an il y a

A résolu


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

plus d'un an il y a

A résolu


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

plus d'un an il y a

A résolu


Round to Nearest Multiple of 10^n

plus d'un an il y a

A résolu


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

plus d'un an il y a

A résolu


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

plus d'un an il y a

A résolu


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

plus d'un an il y a

A résolu


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

plus d'un an il y a

A résolu


A times B
A times B

plus d'un an il y a

Charger plus