Problema


Integrate a power tower
Write a function to compute this integral where . That is, the integrand is (x to the x) to the (x to the x) to the (x to the...

circa 2 anni fa | 1 | 7 risolutori

Risolto


Neural Net Image Convolution: Return only Valid portion of conv2
This challenge is to return only the Valid portion of a 2-D convolution. Valid is deemed to be where all elements of the kernel ...

circa 2 anni fa

Risolto


IQpuzzler Preparation #1: Find all non-identical orientations of a matrix
Return all non-identical orientations of a 2-D matrix that can be produced by rotating or flipping it. Input is an M-by-N matri...

circa 2 anni fa

Risolto


Find the Points Tangent to a Circle from an External Point
From a point where do the lines touch a circle tangentially?. The loldrup solution may provide some guidance and alternate metho...

circa 2 anni fa

Problema


Determine aquifer properties: slug test
An important task in characterizing the flow of groundwater is to determine the properties of the aquifer, or the underground wa...

circa 2 anni fa | 1 | 4 risolutori

Problema


Count the ones in a divisibility matrix
Cody Problem 59506 asked solvers to compute the determinant of matrix consisting of ones in the first column and anywhere the ro...

circa 2 anni fa | 0 | 4 risolutori

Problema


Compute the determinant of a divisibility matrix
Consider a matrix consisting of ones in the first column and anywhere the row index divides the column index. The 4x4 matrix is ...

circa 2 anni fa | 0 | 4 risolutori

Problema


Compute the sum of distances from a point to the sides of an equilateral triangle
Write a function to compute the sum of the (shortest) distances from a point inside an equilateral triangle to the sides of the ...

circa 2 anni fa | 0 | 6 risolutori

Risolto


Map all the indices of an Array Indices into a Vector giving Index vs Row and Column
Create an array of the row and column values for the indices of an array. This is typically performed using [r c]=ind2sub(siz...

circa 2 anni fa

Risolto


False position (linear interpolation) method of finding a root.
Test the false position algorithm described in Chapter 5 of Steven C. Chapra's textbook, Applied Numerical Methods with MATLAB f...

circa 2 anni 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...

circa 2 anni fa

Risolto


add 10 to x
add 10 to x

circa 2 anni fa

Risolto


add 5 to x
add 5 to x

circa 2 anni fa

Risolto


Add two to x
Add two to x

circa 2 anni fa

Risolto


yo
yo

circa 2 anni fa

Risolto


are you excited to code today????
simply answer yes or no

circa 2 anni 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...

circa 2 anni fa

Risolto


Basic Matlab Operation Bonanza
Given a horizontal array of numbers, perform the following operations, in order: transpose, flip matrix horizontally, flip matri...

circa 2 anni fa

Risolto


Create numeric palindromes and their square roots
Given a number n (1<=n<=9), return a left justified numeric matrix p with all the palindromes of the form 1 to n and back to 1. ...

circa 2 anni fa

Risolto


dfgd
sfgdf

circa 2 anni fa

Risolto


Compute the total length of lines between all vertices of a regular polygon
Write a function to compute the total length of between all vertices of a regular polygon inscribed in a unit circle. For exampl...

circa 2 anni fa

Problema


Compute the total length of lines between all vertices of a regular polygon
Write a function to compute the total length of between all vertices of a regular polygon inscribed in a unit circle. For exampl...

oltre 2 anni fa | 0 | 8 risolutori

Risolto


Grid traversal
Given a line defined by (x1,y1) & (x2,y2),return the number of squares that the line crosses on the grid (a square is 1x1). ...

oltre 2 anni fa

Risolto


Primitive Root Modulo n
Given a positive integer n > 2, return a vector, v, of positive integers smaller than n that are primitive roots modulo n. If no...

oltre 2 anni fa

Risolto


nxn matrix with elements from 1:n^2
really simple once you see what the matrix is supposed to look like. i appreciate what seems to be a clever approach to solving ...

oltre 2 anni fa

Risolto


Birthday cake
It's Cody's 5th birthday, and you've been tasked with putting the candles on the cake. Your goal is to maximize the distance bet...

oltre 2 anni fa

Problema


Construct numbers from antidiagonals of stacks of binary numbers
A sequence is constructed in the following way: Express the numbers 1, 2, 3, 4, 5,… in binary and stack them, right-justified. T...

oltre 2 anni fa | 1 | 5 risolutori

Risolto


Roman to Integer Conversion
The idea behind this cody problem is to write a code that converts the Roman Numerals to Integers. A numeral system known as R...

oltre 2 anni fa

Risolto


Convert Roman to Arabic Numerals
Based upon what I see on tv and at the movies, the use of Roman numerals indicates something is important or sophisticated (e.g....

oltre 2 anni fa

Problema


List lunar triangular numbers without duplication
Triangular numbers—which are the subject of Cody Problems 5, 291, 44289, 44732, 45833, 55680, 55695, and 55705—are the sums of c...

oltre 2 anni fa | 0 | 4 risolutori

Carica altro