Feeds
제출됨
albeco/LaserPulse
LaserPulse is a Matlab class for simulations in nonlinear and ultrafast optics.
3년 초과 전 | 다운로드 수: 19 |
문제를 풀었습니다
Derivative function
Given a function handle f, generate a function that evaluates the derivative of f Examples: f = @sin; df = De...
거의 4년 전
제출됨
NeurNetRegr
Simple Neural Network with fully connected layers for regression analysis.
5년 초과 전 | 다운로드 수: 1 |
문제를 풀었습니다
Is it really a 5?
A number containing at least one five will be passed to your function, which must return true or false depending upon whether th...
6년 초과 전
문제를 풀었습니다
Spot the First Occurrence of 5
This problem series invites you to solve two simple problems related to the integer NUMBER FIVE, in order to celebrate <https://...
6년 초과 전
문제를 풀었습니다
Is this is a Tic Tac Toe X Win?
For the game of <https://en.wikipedia.org/wiki/Tic-tac-toe Tic Tac Toe> we will be storing the state of the game in a matrix M. ...
6년 초과 전
문제를 풀었습니다
Find the nearest prime number
Happy 5th birthday, Cody! Since 5 is a prime number, let's have some fun looking for other prime numbers. Given a positive in...
6년 초과 전
문제를 풀었습니다
Tick. Tock. Tick. Tock. Tick. Tock. Tick. Tock. Tick. Tock.
Submit your answer to this problem a multiple of 5 seconds after the hour. Your answer is irrelevant; the only thing that matte...
6년 초과 전
문제를 풀었습니다
5 Prime Numbers
Your function will be given lower and upper integer bounds. Your task is to return a vector containing the first five prime numb...
6년 초과 전
문제를 풀었습니다
Basic electricity in a dry situation
This is a very hypothetical situation between two individuals in a very dry atmosphere. He came running in rubber boots when...
6년 초과 전
문제를 풀었습니다
Energy of a photon
Given the frequency F of a photon in giga hertz. Find energy E of this photon in giga electron volts. Assume h, Planck's ...
6년 초과 전
문제를 풀었습니다
How to subtract?
* Imagine you need to subtract a few numbers using MATLAB. * You will not be using eval for this task. * Given two ASCII strin...
6년 초과 전
문제를 풀었습니다
Raise a polynomial to a power
In Matlab, polynomials are represented by a vector of coefficients. For example, the polynomial p=a*x^2 + b*x + c is represente...
대략 8년 전
문제를 풀었습니다
Scoring for oriented dominoes
Given a list of ordered pairs, and the order they should be placed in a line, find the sum of the absolute values of the differe...
대략 8년 전
문제를 풀었습니다
Is 3D point set Co-Planar?
This Challenge is to determine if four 3D integer points are co-planar. Given a 4x3 matrix representing four x,y,z integer poin...
대략 8년 전
문제를 풀었습니다
Find the next square number
Given one or more integers n, find the next integer that is a square, for each of them. Example 1: n = 1; out = 4; ...
대략 8년 전
문제를 풀었습니다
Fill the matrix - 1
Input is a column vector and n. n columns will be added to the left of the input column. The first value of the row is the s...
대략 8년 전
문제를 풀었습니다
Find the gcm of n given values
Create a function that given n integer values greater than zero, finds the two numbers with the greatest common divisor and retu...
대략 8년 전
문제를 풀었습니다
Generate a Parasitic Number
This problem is the next step up from <http://www.mathworks.com/matlabcentral/cody/problems/156-parasitic-numbers Problem 156>. ...
대략 8년 전
문제를 풀었습니다
Generalised Hamming Number
Inspired by Project Euler n°204 and Problem 1308 by James A generalised Hamming number of type n, has no prime factor larger ...
대략 8년 전
문제를 풀었습니다
Find vampire numbers
A <http://en.wikipedia.org/wiki/Vampire_number vampire number> is a number v that is the product of two numbers x and y such th...
대략 8년 전
문제를 풀었습니다
Odd elimination
Inspired by Project Euler problem #539 You'll be given a vector from 1 to n; Going from left to right, remove the first n...
대략 8년 전
문제를 풀었습니다
Polite numbers. Politeness.
A polite number is an integer that sums of two or more consecutive positive integers. Politeness of a positive integer is a num...
대략 8년 전
문제
Convert float to base N
The matlab function dec2base converts a positive integer number to a specified base. Extend it so that it works with non intege...
대략 8년 전 | 1 | 솔버 수: 20
문제
Convert integer to base26 using letters
Write a function that converts a decimal integer to base26 using the letters of the english alphabet, i.e. 0->'a', 1->'b', 2->'c...
대략 8년 전 | 3 | 솔버 수: 42
문제를 풀었습니다
Bell Number calculator
Calculate a vector of Bell numbers for sets up to length n. Bell numbers are the maximum number of partitions of a set. See the ...
대략 8년 전
문제를 풀었습니다
nth Rational Number
Return the nth rational number. This is the inverse to Problem <http://www.mathworks.com/matlabcentral/cody/problems/1471 1...
대략 8년 전