A résolu


Make combination of two given matrices.
Make a combination of the two given matrices as a given example. Example: input1 = [1 2 3; 4 5 6]; input2 = [7 8; 9 10...

plus de 7 ans il y a

A résolu


matrix zigzag
Unfold a 2-D matrix to a 1-D array in zig-zag order, e.g., for matrix [ 1 2 3 ; 4 5 6 ; 7 8 9 ] the resulting 1-...

plus de 7 ans il y a

A résolu


RMS value from a set of observations
Find rms value of a set of observations of a physical quantity? Hint: The observations are accessed in the form of vectors

plus de 7 ans il y a

A résolu


Guess the Coefficients!
Given a polynomial _p_ known to have positive integer coefficients, deduce the values of the coefficients. For example: ...

plus de 7 ans il y a

A résolu


Get an array of month-ends in a date range
Create a function that would return a list of month-ends falling in a given date range. If a start date or end date falls on a...

plus de 7 ans il y a

A résolu


Pandigital number n°1 (Inspired by Project Euler 32)
A little warm-up to begin... An n-digit number is pandigital if it makes use of all the digits 1 to n exactly ONCE. For ex...

plus de 7 ans il y a

A résolu


length of string on cylinder
A cylinder H cm high has a circumference of C cm. A string makes exactly N complete turns round the cylinder while its two ends ...

plus de 7 ans il y a

A résolu


Lychrel Number Test (Inspired by Project Euler Problem 55)
The task for this problem is to create a function that takes a number _n_ and tests if it might be a Lychrel number. This is, re...

plus de 7 ans il y a

A résolu


Min by mean
Substitute the minimum value in each row of a matrix A by the mean of that row (it should also work if the input is a vector)

plus de 7 ans il y a

A résolu


Deriving a function using the difference quotient
Write a function that evaluates the derivative of a function in a given point using the well-know formula of the difference quot...

plus de 7 ans il y a

A résolu


Convert from integer to binary
if true % decimalToBinaryVector(x) end

plus de 7 ans il y a

A résolu


Throw common elements of two vector arrays in sorted manner
Throw common elements as output in sorted manner (acending order) of two given input vector arrays

plus de 7 ans il y a

A résolu


Values in Array
How many values are in the array

plus de 7 ans il y a

A résolu


How many solutions has this problem?
Guess, predict or calculate :-) (You will be scored by the accuracy). Update: <http://www.mathworks.co.uk/matlabcent...

plus de 7 ans il y a

A résolu


Rotate a matrix for 180 degree
Rotate a matrix for 180 degree for eg: x=[1 2 3 4] y=[4 3 2 1]

plus de 7 ans il y a

A résolu


Divisible by 3
Pursuant to the <http://www.mathworks.com/matlabcentral/cody/problems/42404-divisible-by-2 first problem> in this series, this o...

plus de 7 ans il y a

A résolu


Prime number removal
remove all prime numbers from the input e.g. input = 1 2 3 4 5 6 7 8 9 10 11 12 ...

plus de 7 ans il y a

A résolu


find the Area of a rectangle
length is x width is y what is the area of the rectangle?

plus de 7 ans il y a

A résolu


Is it prime?
Given a number, check whether it is prime or not. If prime output is true, otherwise false.

plus de 7 ans il y a

A résolu


Find minimum and maximum elements of an array
For a given array find minimum and maximum elements of an array and store minimum value in first index of output and maximum in ...

plus de 7 ans il y a

A résolu


Permutations of input vector
Find and output all permutations of given vector

plus de 7 ans il y a

A résolu


Matlab Basics II - Operations and Matrix Dimensions
Write a function that takes two inputs, a & b, and outputs the sum and product of the two matrices. The matrices have OPPOSITE d...

plus de 7 ans il y a

A résolu


What's for Lunch?
Given b choices of beverages, e choices of entrees, s choices of sides (take two different sides total) and d choices of dessert...

plus de 7 ans il y a

A résolu


Without french accent please !
Suppress french accent For example 'Déjà présent' -> 'Deja present'

plus de 7 ans il y a

A résolu


arrangement of symbols
There are n different symbols in which m symbols are identical (m<n). How many different arrangement can we make with these symb...

plus de 7 ans il y a

A résolu


Accumulate Cells
Given a combining function, a cell array, and an initial value, accumulate the result. For example, accumcell(@plus,{1,...

plus de 7 ans il y a

A résolu


Molecule Atomic Wt (CHONS) Molecules
Given a molecular equation string determine its atomic weight. Limited atoms of C H O N and S where wts are rounded to [12 1 ...

plus de 7 ans il y a

A résolu


Implement a bubble sort technique and output the number of swaps required
A bubble sort technique compares adjacent items and swaps them if they are in the wrong order. This is done recursively until al...

plus de 7 ans il y a

A résolu


Golomb's self-describing sequence (based on Euler 341)
The Golomb's self-describing sequence {G(n)} is the only nondecreasing sequence of natural numbers such that n appears exactly G...

plus de 7 ans il y a

A résolu


Identify the heavier bag
There are N=2^n bags of rice looking alike, N-1 of which have equal weight and one is slightly heavier. The weighing balance is ...

plus de 7 ans il y a

Charger plus