Gelöst


Rule of mixtures (composites) - upper bound
The <http://en.wikipedia.org/wiki/Rule_of_mixtures rule of mixtures> is used in the mechanical design of composite structures to...

etwa 5 Jahre vor

Gelöst


NCHOOSEK - Time Optimization
*Input* * *V* —— Set of all choices, a vector of N, 1 < N < 100 * *K* —— Number of selected choices, a scalar, 0 <= K <=...

etwa 5 Jahre vor

Gelöst


Chess probability
The difference in the ratings between two players serves as a predictor of the outcome of a match (the <http://en.wikipedia.org/...

etwa 5 Jahre vor

Gelöst


remove numbers from a string
check the given string for any numbers.in case one is found,remove it.but the two portions should be separated. if more than one...

etwa 5 Jahre vor

Gelöst


find location of indexes

etwa 5 Jahre vor

Gelöst


S-T-R-E-T-C-H I-T O-U-T
You will be given a row of numbers (x), and a single number (n). Your job is to write a script that will stretch out the row of...

etwa 5 Jahre vor

Gelöst


Make a Plot with Functions
Make a plot and test

etwa 5 Jahre vor

Gelöst


means
Calculate the arithmetic, the geometric and the harmonic mean of a given vector (with positive elements) and return them in a ve...

etwa 5 Jahre vor

Gelöst


Find offset of given matrix element from first matrix element
Given matrix m and an element of that matrix, return the offset from its first element. e.g. m=[11 2 34; 40 51 6; 87 8 109] el...

etwa 5 Jahre vor

Gelöst


number of groups
In a classroom, *n* students work on a special project and the other students work in groups of five. If there are 18 students i...

etwa 5 Jahre vor

Gelöst


Combination of Vectors
Return a combination of vectors x1, x2 based on y1, y2 per: x(j) = 0 if y1(j) < y2(j) x(j) = x1(j) if y1(j)...

etwa 5 Jahre vor

Gelöst


Repeat Vector Values an Arbitrary Number of Times
Given two vectors of the same size, repeat the values of the first vector the number of times given in a second vector. For exam...

etwa 5 Jahre vor

Gelöst


Sort an array of structures
You need to sort an array of structures based upon *a numeric first field*: For example : a.n=1; a.name='a'; b.n=3...

etwa 5 Jahre vor

Gelöst


Narcissistic problem
How many likes has this problem?

etwa 5 Jahre vor

Gelöst


Reduce the logic
We have three logical input, x,y and z. The output is: y = ((x&y)|z)&((z|x&y)|(z&y|x))|((x&z)|z)&((y|x&z)|(z&x|y))|(x|y|z) ...

etwa 5 Jahre vor

Gelöst


Find smallest number to leave a remainder of 1
given a vector of numbers, find the smallest number to be divisible by all of them with a remainder of 1. Note: input numbers wi...

etwa 5 Jahre vor

Gelöst


Diagonal Pattern
For a positive integer |n|, return an |nXn| matrix |mat| such that the value of each element in row |i| and column |j| is given ...

etwa 5 Jahre vor

Gelöst


Vector pop
Take |n| elements from the end of the vector |v| and return both the shorten vector |v| and the |n| elements in a separate vecto...

etwa 5 Jahre vor

Gelöst


Toeplitize a matrix
Similar to <http://www.mathworks.com/matlabcentral/cody/problems/3094-hankelize-a-matrix Problem 3094. Hankelize a matrix>, now ...

etwa 5 Jahre vor

Gelöst


nanoseconds passed today
Calculate the amount of nanoseconds passed in the current day of a certain date string.

etwa 5 Jahre vor

Gelöst


How lucky r u ?
Find the nth number in the following sequence <https://oeis.org/A264940>

etwa 5 Jahre vor

Gelöst


Whole Number Un-Concatenator
Write a function that accepts an integer and an index digit and returns a vector containing two integers which are the leading a...

etwa 5 Jahre vor

Gelöst


Project Euler 249: Prime Subset Sums
Inspired by Problem 249 of Project Euler. <https://projecteuler.net/problem=249> Let S = {2, 3, 5, ...} be the set of prime ...

etwa 5 Jahre vor

Gelöst


Deleting Specific part.
if input is x= { /*[0..10]*/ 0, 11, 21, 31, 41, 55, 50, 10, 810, 9.10, /*[10...25]*/ 100, 110, 120, 130, 140, 255 ...

etwa 5 Jahre vor

Gelöst


Insert Special character in character cell array.
input={'a','b','c'} then ans={'a','*','b','*','c'}

etwa 5 Jahre vor

Gelöst


Modified run-length companion vector
Given a vector x, return a vector that indicates the run length of any value in x. Each element in output vector shows how many ...

etwa 5 Jahre vor

Gelöst


How to get the additive inverse of a uint8.
Given x as a uint8 find the additive inverse y.

etwa 5 Jahre vor

Gelöst


Análisis código QR

etwa 5 Jahre vor

Gelöst


Intercambiar columnas

etwa 5 Jahre vor

Gelöst


Intercambiar columnas - UC3M

etwa 5 Jahre vor

Mehr laden