Problema


Stirling Numbers - I
Problems #1388 & #45187 deal with Stirling numbers of the 2nd Kind. Here, generate the Stirling numbers S(n,k) of the 1st kind ...

6 meses hace | 0 | 8 solvers

Resuelto


Bernstein Basis Polynomials
Return the coefficients of a Bernstein Basis Polynomial B(v,n) for degree n and order v - %Examples B(2, 5) = 10*x^2*(1-x)...

6 meses hace

Problema


Bernstein Basis Polynomials
Return the coefficients of a Bernstein Basis Polynomial B(v,n) for degree n and order v - %Examples B(2, 5) = 10*x^2*(1-x)...

6 meses hace | 0 | 8 solvers

Resuelto


Multiply real numbers to get the smallest integers
Write a function that takes a vector of real numbers and multiplies them by a factor to produce the integers with the smallest a...

6 meses hace

Resuelto


Dickson Polynomials
Return the coefficients of nth (n>=0) Dickson polynomial of the 1st kind as follows - 1st row of the output will be the coeffi...

6 meses hace

Problema


Dickson Polynomials
Return the coefficients of nth (n>=0) Dickson polynomial of the 1st kind as follows - 1st row of the output will be the coeffi...

6 meses hace | 0 | 8 solvers

Resuelto


Path calculation with polynomials
Let a vector x be the input to our function. 1. If a value of an input vector element x is lower than 0, set this value to 0....

6 meses hace

Resuelto


Cumulative Count
Given a row vector of integers with repeating values (with all repeating values occuring in a single continuous run), create an ...

6 meses hace

Problema


Cumulative Count
Given a row vector of integers with repeating values (with all repeating values occuring in a single continuous run), create an ...

6 meses hace | 1 | 8 solvers

Resuelto


Check Euler's characteristic on regular polyhedra
Problem statement Given the number of vertices and the number of faces of a given regular polyhedron, compute the number of its...

7 meses hace

Resuelto


Check Bertrand-Chebyshev's theorem about prime numbers
Historical context Bertrand's postulate, also later known as Chebyshev's theorem, is a very important theorem in number theory ...

7 meses hace

Resuelto


Check Legendre's conjecture
Context and problem statement Legendre's conjecture states for a given positive integer n, there always exists at least one pri...

7 meses hace

Resuelto


Monkey and the Peaches
A monkey picked a certain number of peaches on the first day. Each day, the monkey eats half of the remaining peaches plus one ...

7 meses hace

Resuelto


Product of two multivariate polynomials
MATLAB <https://www.mathworks.com/help/matlab/polynomials.html has a few functions> for creating and manipulating single-variabl...

8 meses hace

Resuelto


Mr. Pyramidad & Ms. Whissy Bolower
Businessman Mr. B. M. Pyramidad was drinking with his new girlfriend Ms. Whissy Bolower. He disclosed to her that he has an ille...

8 meses hace

Resuelto


Numbered lottery balls into cells
You are running a lottery, and have a number of different balls numbered 1 to N. Your job is to figure out how many different w...

8 meses hace

Resuelto


Breaking up a chocolate bar
You've got a chocolate bar of size , and you want to break it up into bite-sized () pieces. How many steps are required to do th...

8 meses hace

Resuelto


Cat's paw - 01
lets imagine a cat, standing on an infinitely long row of tiles. since its a 'cat', string length=3; it takes 3 tiles to stand. ...

8 meses hace

Resuelto


Pumpkin Pie!
It's time for desert at Thanksgiving. You've all gathered at grandma's house, and she's about to start cutting the pumpkin pie. ...

8 meses hace

Resuelto


P(girl likes you | she smiled at you)
Compute the probability Given the input probabilities

8 meses hace

Resuelto


My wife's logic
Its is always the opposite of the causality law, that is to say the implication relationship in math/logic terms : Figure...

8 meses hace

Resuelto


Extra colors
Context In the RGB color system used by Matlab, the color is a 1 x 3 / row vector [R G B] with each value/component R, G, B in ...

8 meses hace

Resuelto


Classify triangles as acute, obtuse, or right
In an acute triangle, the three interior angles are acute, or smaller than 90 degrees. In an obtuse triangle, one angle is obtus...

8 meses hace

Respondida
How to rotate domain, but the lon and lat are on the contour (not on the axis)
You can try something like this as showed in this thread. Note that the aspect ratio of axes will get distorted as per the angl...

8 meses hace | 0

Resuelto


Most Frequent Characters
Given a document file or a character array, identify the 'n' most frequently occurring characters and the number of times each a...

8 meses hace

Respondida
Readtable and Readmatrix Ignore Specified Range and Produce Extra Variables
From what I have understood of your query, you need to specify that you don't require Extra columns - readtable adds variable ...

8 meses hace | 0

| aceptada

Respondida
How plot 2D with inset zoom region?
Two things - There is no data in the zoom region, as you can see > Select the zoom region as per the values. The zoom region ...

8 meses hace | 0

| aceptada

Respondida
Is it possible to get the Reinforcement Learning Onramp course in pdf format?
Downloading course files as a PDF is not available (yet; I do not know if TMW are planning on introducing that feature or not). ...

8 meses hace | 0

| aceptada

Resuelto


Fill an array given a sum and array length values
Fill an array with random numbers so that their sum and array length will be equal to the given values as input. Function will g...

alrededor de 1 año hace

Resuelto


Convert integers from primary notation to base 10
The primary system of expressing numbers has three digits: m, x, and p, which correspond to -1, 0, and 1. The places in a primar...

alrededor de 1 año hace

Cargar más