문제를 풀었습니다


Make a "better" checkerboard matrix
This problem seeks to expand the task in Cody Problem 4 by allowing for the creation of checkerboard matrices that can be rectan...

2년 초과 전

문제


Compute piezometric head in a leaky confined aquifer
Problem statement Write a function to compute the piezometric head in a leaky confined aquifer and the position of a groundwat...

2년 초과 전 | 2 | 솔버 수: 4

문제


Compute the water table elevation in an unconfined aquifer with recharge
Problem statement Write a function to compute the water table elevation above the bottom of the aquifer and the position of a ...

2년 초과 전 | 2 | 솔버 수: 5

문제를 풀었습니다


A row vector, pick 1st number, skip 1,pick 3rd number, skip 2,pick,skip,etc then place all picked numbers in order in new vector
Having a row vector of number, pick the first number, place in new output vector as the first value, then skip one number, pick...

2년 초과 전

문제


Find the smallest number leading to a maximal product of two numbers that concatenate to another number
Cody Problem 58971 involves the maximal product of numbers that concatenate to a number . For example, if , then the products ar...

2년 초과 전 | 1 | 솔버 수: 5

문제를 풀었습니다


Concatenate a successive power matrix in a column matrix
Generate F = [M1 M^2 ... M^p] with M a matrix, without using for.

2년 초과 전

문제


Compute the maximal product of any two numbers whose concatenation is n
Write a function that takes an input and computes the maximal product of numbers that concatenate to . For example, if , then t...

2년 초과 전 | 0 | 솔버 수: 8

문제


Compute the head for steady 1D flow in a homogeneous aquifer
Problem statement Write a function that computes the head (i.e., piezometric head for a confined aquifer or water table elevat...

2년 초과 전 | 3 | 솔버 수: 7

문제


Find the nine-point circle of a triangle
Cody Problem 1336 asks us to find the circle that circumscribes a triangle, and Cody Problem 58354 asks us to find the circle th...

2년 초과 전 | 0 | 솔버 수: 3

문제


Count block fountains
A block fountain consists of rows of circles in which each row is a continuous block of circles (i.e., adjacent circles are tang...

2년 초과 전 | 1 | 솔버 수: 8

문제


Compute measurement uncertainty
Suppose a variable depends on independent variables , , . If the independent variables have uncertainty , , etc. and the uncer...

2년 초과 전 | 1 | 솔버 수: 10

문제를 풀었습니다


Neural Net: Calculate Perceptron
This challenge is to calculate the Neural Net Perceptron value,P, given X, WH, and WP using ReLU on the hidden layer. This examp...

2년 초과 전

문제를 풀었습니다


Neural Net: Best Index of Prediction array
The final ouput of a neural net application is a Prediction matrix/vector,P, that gives the probability of the input being of a ...

2년 초과 전

문제를 풀었습니다


Intersection(s) of Circles
Do two given circles intersect in Zero, One, or Two points and provide the intersection(s). The Stafford method may provide some...

2년 초과 전

문제를 풀었습니다


Neural Nets: Activation functions
Return values of selected Activation function type for value,vector, and matrices. y=Activation(x,id); where id is 1:4 for ReLU...

2년 초과 전

문제를 풀었습니다


Array size along k-th dimension
Given an n-dimensional array M, find the size of M along the k-th dimension (1 <= k <= n), without using size(), height() or wid...

2년 초과 전

문제를 풀었습니다


Array Height (no usage of size)
Find the array height, the number of rows. Size may not be used.

2년 초과 전

문제를 풀었습니다


Array Width (no usage of size)
Find the array width. Size may not be used.

2년 초과 전

문제를 풀었습니다


Solve the matrix equation AXB + X + C = 0 for X
Let A, B, and C be square matrices of equal size, and let the matrix X be defined by the matrix equation A * X * B + X + ...

2년 초과 전

문제를 풀었습니다


Find the Connecting Path
Here is a matrix x x = [7 6 8 5 7 2 4 5 1 3 0 0 0 7 7 7 7 7 0 0 0 0 0 0 0 0 0 0 0 5 5 5 5 5 0 0 0 0 0 0...

2년 초과 전

문제


Count collisions in an idealized block system
Two blocks, which have masses and , slide along a frictionless, semi-infinite track bounded by a stationary wall. Initially blo...

2년 초과 전 | 0 | 솔버 수: 6

문제를 풀었습니다


A Mathematical Problem
Find the kth digit of the inverse of a number 'n'. Assumption: n>1

2년 초과 전

문제를 풀었습니다


掃き出し法を実装して、連立一次方程式を解いてみよう
※本問は、2023/7/24開催の、筑波大学でのセミナーのために作成した問題です。 掃き出し法を使った連立一次方程式の解法を穴埋めで実装してみましょう。 左辺と右辺を、それぞれ以下の行列Aおよび列ベクトルBで表したものが与えられたとします。この時、...

2년 초과 전

문제를 풀었습니다


Find the surface area of a cone.
For instance, Given r (radius) = 3, and s (slant height) = 5: surface area should be 94.

2년 초과 전

문제를 풀었습니다


Fibonacci Sequence
Write a MATLAB function called fibonacci_sequence(n) that takes an integer n as input and returns the first n terms of the Fibon...

2년 초과 전

문제를 풀었습니다


convert 24 hour time to 12 hour time
convert 24 hour time to 12 hour time Input: '13:12' Output: '01:12 PM' Input: '06:12' Output: '06:12 AM'

2년 초과 전

문제를 풀었습니다


Hemisphere Volume on Top of a Cylinder
This MATLAB function has to calculate the volume of a hemisphere placed on top of a cylinder, given valid inputs. It takes the r...

2년 초과 전

문제를 풀었습니다


Determine if input is greater than 100
Evaluate if given number is greater than 100. If greater, return true; else, return false.

2년 초과 전

문제를 풀었습니다


A times B
A times B

2년 초과 전

문제를 풀었습니다


Is it the answer to life the universe and everything?
The answer to life the universe and everything is 42, but this is naturally in base 13. Unfortunately, MATLAB is in base 10, so ...

2년 초과 전

더 보기