Gelöst


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

9 Monate vor

Gelöst


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

9 Monate vor

Gelöst


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

9 Monate vor

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

9 Monate vor | 0

Gelöst


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

9 Monate vor

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

9 Monate vor | 0

| akzeptiert

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

9 Monate vor | 0

| akzeptiert

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

9 Monate vor | 0

| akzeptiert

Gelöst


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

etwa ein Jahr vor

Gelöst


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

etwa ein Jahr vor

Gelöst


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

etwa ein Jahr vor

Gelöst


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

mehr als ein Jahr vor

Gelöst


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

mehr als ein Jahr vor

Gelöst


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

mehr als ein Jahr vor

Gelöst


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

mehr als ein Jahr vor

Gelöst


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

mehr als ein Jahr vor

Gelöst


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

mehr als ein Jahr vor

Gelöst


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

mehr als ein Jahr vor

Gelöst


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

mehr als ein Jahr vor

Gelöst


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

mehr als ein Jahr vor

Gelöst


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

mehr als ein Jahr vor

Gelöst


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

mehr als ein Jahr vor

Gelöst


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

mehr als ein Jahr vor

Gelöst


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

mehr als ein Jahr vor

Gelöst


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

mehr als ein Jahr vor

Gelöst


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

mehr als ein Jahr vor

Gelöst


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

mehr als ein Jahr vor

Gelöst


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

mehr als ein Jahr vor

Gelöst


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

mehr als ein Jahr vor

Gelöst


Hofstadter Female and Male sequences
The Hofstadter Female (F) and Male (M) sequences are defined as follows Write a function to compute for a given n. See http...

mehr als ein Jahr vor

Mehr laden