Jiawei Gong
Penn State Behrend
Followers: 0 Following: 0
Feeds
문제를 풀었습니다
Popular Word Game™ Distance
Professor Ned, who holds the Nedowed Chair of Crackpot Mathematics at the University of Nedsburg, has recently discovered the da...
대략 1개월 전
문제를 풀었습니다
The Bridges of Nedsburg
The fabled city of Nedsburg consists of several islands connected by bridges. Due to tectonic forces, shoddy civil engineering, ...
대략 1개월 전
문제를 풀었습니다
A Nedlish Country Garden - Check for Valid Arrangement
Nedland is famous for its stately gardens, which typically have a centerpiece of a square grid, with certain squares featuring a...
대략 1개월 전
문제를 풀었습니다
Average Number of Moves for the Royal Game of Err
Bored of tedious court assemblies, King Neduchadneddar the Procrastinator has found a cunning way to keep his advisors, councilo...
대략 1개월 전
문제를 풀었습니다
Transition Matrix for the Royal Game of Err
Bored of tedious court assemblies, King Neduchadneddar the Procrastinator has found a cunning way to keep his advisors, councilo...
대략 1개월 전
문제를 풀었습니다
Convert Decimal to Hexavigesimal
NASA (Ned’s Alien-Spying Agency) have made contact with a 13-fingered race from the planet Genai. Naturally, Ned’s shadowy opera...
대략 1개월 전
문제를 풀었습니다
Convert Hexavigesimal to Decimal
NASA (Ned’s Alien-Spying Agency) have made contact with a 13-fingered race from the planet Genai. Naturally, Ned’s shadowy opera...
대략 1개월 전
문제를 풀었습니다
Leaderboard for the Nedball World Cup
At the upcoming inaugural Nedball World Cup, organizers need to track who is in the lead for the coveted Golden Toeplitz trophy,...
대략 1개월 전
문제를 풀었습니다
Government of the Neds, by the Neds, for the Neds - Distribute the Nedsburg City Councilors
The city of Nedsburg consists of several islands, the number of which changes regularly, due to tectonic forces, shoddy civil en...
대략 2개월 전
문제를 풀었습니다
P(girl likes you | she smiled at you)
Compute the probability Given the input probabilities
대략 2개월 전
질문
Unexpected frequency halving and extra peaks in FFT output when changing sampling time (TS) in Simulink
Hi everyone, I’m running a Simulink model using multiple sine waves generated by Sine Wave blocks, summed together, then passed...
대략 2개월 전 | 답변 수: 1 | 0
1
답변문제를 풀었습니다
Matrix Quadrants
Write a function that takes N as the input, and outputs a matrix whose upper-left (NxN) quadrant contains all ones, the lower-ri...
11개월 전
질문
syms x - Not enough input arguments.
>> syms x Not enough input arguments. Error in digits (line 3) for i=1:length(s) Error in sym (line 192) S.Digits =...
거의 5년 전 | 답변 수: 1 | 0
1
답변문제를 풀었습니다
How many digits are there?
Input(s) - any string Output(n) - number of digits within string s
대략 5년 전
문제를 풀었습니다
Convert Two Character String into a Binary Vector
Given a string "XOXXO" convert it into a binary vector. [1 0 1 1 0] Paul Berglund implemented an optimal method in <http://ww...
대략 5년 전
문제를 풀었습니다
Count letters occurence in text, specific to words with a given length.
Build a function with two input arguments: a string and a word length (number of letters), that outputs a vector of counts of th...
대략 5년 전
문제를 풀었습니다
Is the paranthesis sequence balanced ?
Quantum mechanics and computer science are interested in <http://en.wikipedia.org/wiki/Bra%E2%80%93ket_notation bra-kets>. Today...
대략 5년 전
문제를 풀었습니다
Join Strings with Multiple Different Delimiters
The idea is to form the string S by interleaving the elements of a cell array of strings DELIMITER and another cell array of st...
대략 5년 전
문제를 풀었습니다
Simple Decoder Ring
The stereotypical _decoder ring_ is remembered as a cereal box prize from the 1950s. Kids learned about cryptography by startin...
대략 5년 전
문제를 풀었습니다
Morse Code Generator! Try it!
.... . .-.. .-.. --- . ...- . .-. -.-- --- -. . -.-.-- .-.. . - ... -.. --- ... --- -- . -- --...
대략 5년 전
문제를 풀었습니다
Eliminate Polysyllabics: Long live short words!
Given a string s1, return s2 in which all the words with more than one syllable have been removed. To make things simple, we ...
대략 5년 전
문제를 풀었습니다
Mersenne Primes vs. All Primes
A Mersenne prime (M) is a prime number of the form M = 2^p - 1, where p is another prime number. <https://www.mathworks.com/matl...
5년 초과 전
문제를 풀었습니다
Approximation of Pi (vector inputs)
Pi (divided by 4) can be approximated by the following infinite series: pi/4 = 1 - 1/3 + 1/5 - 1/7 + ... For a given numbe...
5년 초과 전
문제를 풀었습니다
geometric progression
I've modified my <http://uk.mathworks.com/matlabcentral/cody/problems/2800-arithmetic-progression previous program> so that it n...
5년 초과 전
문제를 풀었습니다
arithmetic progression
I've written a program to generate the first few terms of <https://en.wikipedia.org/wiki/Arithmetic_progression arithmetic progr...
5년 초과 전
문제를 풀었습니다
Largest Geometric Series
Extension of Ned Gulley's wonderful <http://www.mathworks.com/matlabcentral/cody/problems/317 Problem 317>. In a geometric se...
5년 초과 전
문제를 풀었습니다
Find similar sequences
Another problem inspired by a question on the <http://www.mathworks.com/matlabcentral/answers answers> forum. Given a matrix ...
5년 초과 전
문제를 풀었습니다
Generate Square Wave
Generate a square wave of desired length, number of complete cycles and duty cycle. Here, duty cycle is defined as the fraction ...
5년 초과 전
문제를 풀었습니다
Sum of series III
What is the sum of the following sequence: Σ(2k-1)^3 for k=1...n for different n?
5년 초과 전
문제를 풀었습니다
Create a block diagonal matrix
A block diagonal matrix is a square matrix that can be written as A = [a 0 0 0 0 b 0 0 0 0 c 0 ...
5년 초과 전











