已解决


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

3 months 前

已解决


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

3 months 前

已解决


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

3 months 前

已解决


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

3 months 前

已解决


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

3 months 前

已回答
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...

3 months 前 | 0

已解决


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

3 months 前

已回答
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 ...

3 months 前 | 0

| 已接受

已回答
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 ...

4 months 前 | 0

| 已接受

已回答
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). ...

4 months 前 | 0

| 已接受

已解决


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

8 months 前

已解决


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

9 months 前

已解决


Play Hocus Focus
The card game Hocus Focus starts by placing twelve cards with wizards face up on a table. The characteristics of the wizards tha...

9 months 前

已解决


Complete hydraulic geometry relations
Hydraulic geometry relations express the velocity , width , and depth of a river as a function of the discharge (or flow) , whi...

9 months 前

已解决


Factor a number into Fermi-Dirac primes
Cody Problem 58018 asked you to list the Fermi-Dirac primes, which are prime powers with exponents that are powers of 2. As note...

10 months 前

已解决


Recurring Cycle Length (Inspired by Project Euler Problem 26)
Preface: This problem is inspired by Project Euler Problem 26 and uses text from that question to explain what a recurring cycle...

10 months 前

已解决


Describe n from right to left
If you were to describe the number 46 from right to left, you could say “one 6, one 4”, or 1614. The number 8663 would be “one 3...

10 months 前

已解决


Determine whether a number is a Ludic prime
Ludic numbers are formed by a sieve. Start with a list of the positive integers. Skip 1 and start with 2. Then delete every seco...

10 months 前

已解决


Identify points inside a Reuleaux triangle
Write a function to identify points that lie in or on a Realeaux triangle, which is a curve of constant width. The input to the ...

10 months 前

已解决


Add non-triangular numbers
The nth triangular number is the sum of the first n positive integers. The sequence of triangular numbers starts 1, 3, 6, 10, 15...

10 months 前

已解决


Sum along each diagonal of a matrix
Write a routine that returns the sums along the diagonals of a given matrix, A, where the first diagonal is the bottom left corn...

11 months 前

已解决


Determine whether a number is a Blum integer
A Blum integer is a semiprime—that is, the product of two distinct primes—whose factors have the form for some integer . The nu...

1 year 前

已解决


The Prime Days of Christmas
On the first day of Christmas my true love sent to me partridges in a pear tree. On the second day of Christmas my true love s...

1 year 前

已解决


Sherlock Holmes: The Spy Problem
A guest at a party is a spy if this person is not known by any other guest, but knows all of them. There is at most one spy at a...

1 year 前

已解决


Extract Increasing Integers from Digit String
Given a string containing only digits, the function get_integers should return the list of increasing integers obtained by readi...

1 year 前

已解决


Find the number of diagonals in a n sided polygon.
Find the number of diagonals in a n sided polygon.

1 year 前

已解决


List the nth term of Rozhenko’s inventory sequence
Consider a sequence constructed by repeated inventories. A new inventory begins each time a zero is encountered. The first few i...

1 year 前

已解决


Determine ground distance from an aircraft to a DME station
In aviation, distance measuring equipment (DME) uses radio signals to determine slant distance from an aircraft to a ground stat...

1 year 前

已解决


Determine pressure altitude using field elevation and altimeter setting
Given an airfield's elevation in feet (ft) and the current altimeter setting in inches of mercury (inHg), calculate the pressure...

1 year 前

已解决


Hofstadter H sequence
The Hofstadter H sequence is defined as follows: The first elements of the sequence are 0, 1, 1, 2, 3, 4, 4, 5, 5, 6. Write ...

1 year 前

加载更多