Risolto


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

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


find location of indexes

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


Make a Plot with Functions
Make a plot and test

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


Narcissistic problem
How many likes has this problem?

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


Análisis código QR

oltre 3 anni fa

Risolto


Intercambiar columnas

oltre 3 anni fa

Risolto


Intercambiar columnas - UC3M

oltre 3 anni fa

Carica altro