Resuelto


Creating a code via test suite :)
Given the test suites, create a code that would fit them :) *Clue: Pascal's Triangle

más de 9 años hace

Resuelto


Polynomial evaluation
Compute the value of a polynomial of degree n with coeffcients in vector a, at value x. p(x)=a(1)+a(2)x+a(3)x^2+...+a(n+1)x...

más de 9 años hace

Resuelto


Get factory-defined property values
Given a property name (e.g. 'AxesUnits', 'LineMarkerSize', 'UicontrolBackgroundColor'), return the factory-defined value for tha...

más de 9 años hace

Resuelto


How many figures currently exist?
Return the number of figures that exist at any given time.

más de 9 años hace

Resuelto


Beat the test suite if you can :)
Test Suites are laid there for clues

más de 9 años hace

Resuelto


kmph to mph converter
Convert the speed in miles/hour to km/hour.

más de 9 años hace

Resuelto


Back to Basics - New Data Type in R2016b - convert a char to a string
Convert an char array into a string.

más de 9 años hace

Resuelto


Spectral Distance - Speed Scoring
Find quantity of pixels within a spectral distance from a given [r,g,b] spectra. *Spectral distance* = sqrt( (r0-ri)^2+(g0-gi...

más de 9 años hace

Resuelto


What's size of TV?
Many people buy TV. Usually they ask about diagonal. But also important are width and height. Let's assume that all TV have rati...

más de 9 años hace

Resuelto


Euclidean inter-point distance matrix
The Euclidean distance between two points in a p-dimensional space is a really common thing to compute in the field of computati...

más de 9 años hace

Respondida
is there a built in function to get minimum nr of bits for an integer ?
Not floor(log2(x)) + 1 but ceil(log2(x)) is correct

más de 9 años hace | 0

Respondida
discrete joint probability distribution
You need to compute the histogram count for every pair (theta_i, v_j), and then normalize it by the sample size. Thus, histcount...

más de 9 años hace | 2

| aceptada

Resuelto


Odd row
Create a row 'y' with odd numbers where the range of numbers is given by 'x' and the space between them by 'm'. The first number...

más de 9 años hace

Resuelto


Simpsons's rule (but not Homer Simpson)
I wonder what Homer Simpson would have thought of Simpson's rule? Somehow I doubt his thoughts would have included the phrase Ne...

más de 9 años hace

Resuelto


Sum of digits of powers of 2
Given n, first, calculate the number 2^n. Then, sum the digits that comprise that number. For example: Input: n = 7 2^n = ...

más de 9 años hace

Resuelto


Rutgers Homework 3 Problem 3
Please solve homework 3 problem 3. You can find the full problem statement here: https://drive.google.com/file/d/0B9G6VyQG...

más de 9 años hace

Resuelto


Roots of a quadratic equation.
Calculate the roots of a quadratic equation, given coefficients a, b, and c.

más de 9 años hace

Resuelto


Ring Matrix
Given n (only odd), return output matrix a that has concentric rings of the numbers 1 through (n+1)/2 around the center point. ...

más de 9 años hace

Resuelto


Determine the roots of a cubic equation
Given the coefficients a, b, c, and d of a cubic equation, a*x^3 + b*x^2 + c*x + d = 0, determine its roots.

más de 9 años hace

Resuelto


Visualization of experimental data across a surface
Assume that you have taken data across the surface of a sample, for example sheet resistance. The data is stored in a Nx3 matri...

más de 9 años hace

Resuelto


Remove any row in which a NaN appears
Given the matrix A, return B in which all the rows that have one or more <http://www.mathworks.com/help/techdoc/ref/nan.html NaN...

más de 9 años hace

Resuelto


Split up vector or matrix delimited by NaNs
Given several vectors contained within one vector delimited by NaNs, return each individual vector as an element of a cell vecto...

más de 9 años hace

Resuelto


what can you get for exactly amount of money
You go to store, where each product has price. Prices are in vector s= [ 195 125 260 440 395 290] and you have amount of ...

más de 9 años hace

Resuelto


Find unique number in input
Find value that occurs in odd number of input elements.

más de 9 años hace

Resuelto


this is a test problem
this is a anniversary test problem

más de 9 años hace

Resuelto


Not square-free number sequence
<http://oeis.org/A013929 Not square-free numbers> are all positive integers divisible by a square greater than one: 4, 8, 9, 12,...

más de 9 años hace

Resuelto


Sphenic number sequence
<http://oeis.org/A007304 Sphenic numbers> are positive integers that are products of three distinct prime numbers: 30, 42, 66, 7...

más de 9 años hace

Resuelto


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

más de 9 años hace

Resuelto


Repeat the entries of the vector to their reference times in the vector.
e.g for input x: [ 7 3 9 5] output y: [ 7 3 3 9 9 9 5 5 5 5]

más de 9 años hace

Resuelto


Pad zero between every adjacent values of the vector.
you are given a vector x. you have to make an output vector y with zeros padded between every adjacent values of x. e.g x: ...

más de 9 años hace

Cargar más