Statistica
0 Problemi
139 Soluzioni
RANK
N/A
of 301.440
REPUTAZIONE
N/A
CONTRIBUTI
0 Domande
0 Risposte
ACCETTAZIONE DELLE RISPOSTE
0.00%
VOTI RICEVUTI
0
CONTRIBUTI
0 Post
CONTRIBUTI
0 Pubblico Canali
VALUTAZIONE MEDIA
CONTRIBUTI
0 Punti principali
NUMERO MEDIO DI LIKE
Feeds
Risolto
Triangular matrices in 3D array
Given a 3D numeric array _x_, return an array _y_ of the same size in which all entries to the right of the main diagonal are ze...
circa un mese fa
Risolto
BULLSEYE Part 2: Reference Problem 18 BULLSEYE
Given n (always odd), return output a that has concentric rings of the 1s and 0s around the center point. Examples: Input ...
circa un mese fa
Risolto
Toeplitz Matrix
For a given square matrix of order n-by-n check whether this is a Toeplitz matrix or not. Return true if it is.
circa un mese fa
Risolto
ZigZag matrix with reflected format
ZigZag MATRIX with REFLECTED format. We have only input x. We have to create a matrix in the following pattern. input n=5...
circa un mese fa
Risolto
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...
circa un mese fa
Risolto
Find similar sequences
Another problem inspired by a question on the <http://www.mathworks.com/matlabcentral/answers answers> forum. Given a matrix ...
circa un mese fa
Risolto
Sum of series VII
What is the sum of the following sequence: Σ(km^k)/(k+m)! for k=1...n for different n and m?
circa un mese fa
Risolto
Sum of series VI
What is the sum of the following sequence: Σk⋅k! for k=1...n for different n?
circa un mese fa
Risolto
Sum of series V
What is the sum of the following sequence: Σk(k+1) for k=1...n for different n?
circa un mese fa
Risolto
Sum of series IV
What is the sum of the following sequence: Σ(-1)^(k+1) (2k-1)^2 for k=1...n for different n?
circa un mese fa
Risolto
Sum of series III
What is the sum of the following sequence: Σ(2k-1)^3 for k=1...n for different n?
circa un mese fa
Risolto
Sum of series II
What is the sum of the following sequence: Σ(2k-1)^2 for k=1...n for different n?
circa un mese fa
Risolto
Sum of series I
What is the sum of the following sequence: Σ(2k-1) for k=1...n for different n?
circa un mese fa
Risolto
most frequent character
Obtain the most frequent character. For example, s='balaram'; output='a'; If there is a tie between letters, return t...
circa un mese fa
Risolto
Concatenate strings
concatenate a variable number of input strings to produce one outputstring
circa un mese fa
Risolto
Split a given string from the first instance of a given character
A simple operation to split a given string into two substrings at the point where the desired character is first found. e.g. ...
circa un mese fa
Risolto
Simple Caesar Cypher - shift encrypt a message given an index number
A Caesar cypher is a simple shift encryption method. Your goal is to create a function that allows a user to input a string and ...
circa un mese fa
Risolto
NO _________ ALLOWED....
So you're given a sentence where if there is a particular word in the sentence then the output is 1, if it is not there then the...
circa un mese fa
Risolto
Make a list string
Given a cell string, produce a string separating the items with spaces and commas and with an 'and' preceding the final item, an...
circa un mese fa
Risolto
ABBREVIATION
Abbreviate the given string. Consider Only Capital Letters. EXAMPLE If input is 'Abbreviation of The Given String' then ou...
circa un mese fa
Risolto
How many digits are there?
Input(s) - any string Output(n) - number of digits within string s
circa un mese fa
Risolto
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...
circa un mese fa
Risolto
Is the paranthesis sequence balanced ?
Quantum mechanics and computer science are interested in bra-kets. Today however you, the player, will have to write a function ...
circa un mese fa
Risolto
Alternately upper-lower case
Modify the string to alternate between upper and lower case. For example, s='achyuta' output='AcHyUtA' Update - Test case...
circa un mese fa
Risolto
Must be in the front row...
You are given a matrix followed by a single number. Your object is to write a script that will shift the matrix around so that ...
circa un mese fa
Risolto
Magnet and Iron
(Inspired from <http://www.mathworks.com/matlabcentral/cody/problems/112 Problem 112: Remove the air bubbles>) Iron (atomic n...
circa un mese fa
Risolto
Replace Nonzero Numbers with 1
Given the matrix x, return the matrix y with non zero elements replaced with 1. Example: Input x = [ 1 2 0 0 0 ...
circa un mese fa
Risolto
Matrix multiplication across rows
Given matrix m, return matrix n such that, rows of n are result of multiplication of the rows of the input matrix Example ...
circa un mese fa
Risolto
A matrix of extroverts
Now that the introverts have had their script, the extroverts spoke up (naturally!) and demanded one as well. You will be given...
circa un mese fa
Risolto
Convert matrix to 3D array of triangular matrices
Given a 2D numeric array x in which each column represents the vectorized form of an upper triangular matrix, return a 3D array ...
circa un mese fa



