Risolto


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 mesi fa

Risolto


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 mesi fa

Risolto


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 mesi fa

Risposto
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 mesi fa | 0

Risolto


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 mesi fa

Risposto
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 mesi fa | 0

| accettato

Risposto
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 mesi fa | 0

| accettato

Risposto
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 mesi fa | 0

| accettato

Risolto


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

circa un anno fa

Risolto


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

circa un anno fa

Risolto


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

circa un anno fa

Risolto


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

circa un anno fa

Risolto


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

oltre un anno fa

Risolto


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

oltre un anno fa

Risolto


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

oltre un anno fa

Risolto


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

oltre un anno fa

Risolto


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

oltre un anno fa

Risolto


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

oltre un anno fa

Risolto


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

oltre un anno fa

Risolto


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

oltre un anno fa

Risolto


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

oltre un anno fa

Risolto


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

oltre un anno fa

Risolto


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

oltre un anno fa

Risolto


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

oltre un anno fa

Risolto


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

oltre un anno fa

Risolto


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

oltre un anno fa

Risolto


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

oltre un anno fa

Risolto


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

oltre un anno fa

Risolto


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

oltre un anno fa

Risolto


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

oltre un anno fa

Carica altro