Resuelto


Total resistance of resistors in series
What is the total resistance of a number of resistors in series? A vector R contains the resistances (in Ohm) of n resistors, w...

más de 2 años hace

Resuelto


Total resistance of a network of resistors in series and parallel
What is the total resistance of a network of resistors in series and in parallel? A matrix R contains the resistances (in Ohm) ...

más de 2 años hace

Resuelto


Total resistance of resistors in parallel
What is the total resistance of a number of resistors in parallel? A vector R contains the resistances (in Ohm) of n resistors,...

más de 2 años hace

Resuelto


Did you say please? - Find one string within another without strfind or regexp/regexpi
For a given string sentence, determine if the string word 'please' is present or not. If so, return the string 'OK', else return...

más de 2 años hace

Resuelto


Create a v-notch vector without "sort" function
Given a vector vec, create a v-shaped vector as shown below: vec = [ 10 2 3 89 5 7 90 0 12] Output vector = [90 89 12 10 7 5 3 ...

más de 2 años hace

Resuelto


Find offset of an element of a multi dimensional matrix
For a given multi dimensional matrix and given element, find its offset from the 1st element. Return 0, if element is not fo...

más de 2 años hace

Resuelto


User defined nextpow function
Create a function which will take 2 arguments as n and x, and return y, where, n^y >= abs(x). [ Similar to builtin "nextpow2" fu...

más de 2 años hace

Resuelto


Find supported functions
Given a function name, return true if that function is supported by the toolboxes that are installed with MATLAB on this machine...

más de 2 años hace

Resuelto


Momentum Calculation
A shopping cart of mass 'm1' is traveling with velocity 'u' and collides with a second shopping cart of mass 'm2.' The two shopp...

más de 2 años hace

Resuelto


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

más de 2 años hace

Resuelto


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

más de 2 años hace

Resuelto


Distance of the centroids of the balls
Given *n* balls of radius *r* and the vector *p (nx3)* with all position *(x,y,z)* of the balls, return the symmetric matrix *A ...

más de 2 años hace

Resuelto


Create cell array of strings
Convert the input to a cell array, but only if necessary. If the input is a string, return a 1-by-1 cell array containing the...

más de 2 años hace

Resuelto


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)

más de 2 años 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 2 años hace

Resuelto


Solve the equation. Find X.

más de 2 años hace

Resuelto


Area of Ellipse

más de 2 años hace

Resuelto


Check if two matrices are permutations of each other
Your function should return true for the elements of one matrix is the permutation of the other matrix: x = [1 2 3; 4 5 6; ...

más de 2 años hace

Resuelto


Legend of Zelda - Rupee Count (Compact)
Building off of <https://www.mathworks.com/matlabcentral/cody/problems/3025-zelda-rupee-count Problem 3025>, suppose that Link's...

más de 2 años hace

Resuelto


Legend of Zelda - Rupee Count
Rupees are the main currency in The Legend of Zelda games. The value of each rupee is determined by its color. Unfortunately, th...

más de 2 años hace

Resuelto


Cookie Cutters
Given a larger and smaller matrix, perform element-by-element multiplication on the smaller matrix and a sub-matrix of the large...

más de 2 años hace

Resuelto


First use of arrayfun() and anonymous function @(x)
Create an anonymous function using @(x) for a parabola equation for the given coefficients stored in s with s(1)x2 + s(2)x + s(...

más de 2 años hace

Resuelto


Self-similarity 2 - Every third term
Self-similar integer sequences are certain sequences that can be reproduced by extracting a portion of the existing sequence. Se...

más de 2 años hace

Resuelto


Pattern Recognition 1 - Known Unit Length
You will be given various arrays, composed of numbers or strings. For this problem, the known pattern unit length is three. Writ...

más de 2 años hace

Resuelto


Make visible max values
Make visible maximum values of rows input = [1 2 3 4 5; 6 9 8 2 1; 2 1 4 5 8; 1 9 7 9 2]; ...

más de 2 años hace

Resuelto


Homemade: Control Charts
This problem is a simple version of control charts in statistics. Intput consists from 30 or more observations. * Upper limi...

más de 2 años hace

Resuelto


Calculate trends in time series
Create a new variable that has trends in input series. If _t+1_ is bigger than or equal to _t_, than trend in _t_ will be 1, oth...

más de 2 años hace

Resuelto


Sum the prime numbers from 1-100
Write a function to sum up the prime numbers from 1-100.

más de 2 años hace

Resuelto


Intrication de deux vecteurs
Ecrire une fonction "intric" qui prend en entrée un vecteur ligne v1 et un vecteur ligne v2 et renvoie le vecteur ligne vres don...

más de 2 años hace

Resuelto


Définir une fonction creneau
Definr une fonction "creneau" qui prend en entrée un vecteur et renvoie la valeur 1 pour chaque élément positif du vecteur et...

más de 2 años hace

Cargar más