Community Profile # Christian Schröder

Last seen: 4일 전 2019 이후 활성

#### Statistics

All
• • • • • • • • • • • • 배지보기

#### Content Feed

보기 기준

답변 있음
A few things that immediately come to mind --- The student license only being good for one machine. I have a PC at home and a...

1년 이상 전 | 0

질문

Adding a global legend to a tiledlayout
Good morning, I'm using MATLAB R2020a Update 2. I have a tiledlayout of five (three by two) area plots and would like to use ...

1년 이상 전 | 답변 수: 2 | 2

### 2

답변

해결됨

Find the two-word state names
Given a list of states, remove all the states that have two-word names. If s1 = 'Alabama Montana North Carolina Vermont N...

1년 이상 전

해결됨

Function Iterator
Given a handle fh to a function which takes a scalar input and returns a scalar output and an integer n >= 1, return a handle f...

1년 이상 전

해결됨

QWERTY coordinates
Given a lowercase letter or a digit as input, return the row where that letter appears on a <http://en.wikipedia.org/wiki/Keyboa...

1년 이상 전

해결됨

You just measured its surface area, that is the input.

1년 이상 전

해결됨

The sum of the numbers in the vector
eg. [1,2,3]---->SUM=6

1년 이상 전

해결됨

Flipping
Write code that can reverse the vector without using any sort of loop. Example Given the input vector A = [ 1 2 3 4 5...

1년 이상 전

해결됨

Make a Palindrome Number
Some numbers like 323 are palindromes. Other numbers like 124 are not. But look what happens when we add that number to a revers...

1년 이상 전

해결됨

Distance walked 1D
Suppose you go from position 7 to 10 to 6 to 4. Then you have walked 9 units of distance, since 7 to 10 is 3 units, 10 to 6 is 4...

1년 이상 전

해결됨

Generate a string like abbcccddddeeeee
This is the string version of Problem 1035. <http://www.mathworks.com/matlabcentral/cody/problems/1035-generate-a-vector-like-1-...

1년 이상 전

해결됨

Sky full of stars - 03
draw the following pattern with asterisks. For example, for n=6 '************' '***** *****' '**** ****' ...

1년 이상 전

해결됨

Armstrong Number
Determine whether the given input n-digit number is Armstrong Number or not. Return True if it is an Armstrong Number. An n-D...

1년 이상 전

해결됨

Evil Number
Check if a given natural number is evil or not. Read more at <https://oeis.org/A001969 OEIS>.

1년 이상 전

해결됨

N-th Odious
Given index n return n-th <https://oeis.org/A000069 odious number>.

1년 이상 전

해결됨

Find the 9's Complement
Find the 9's complement of the given number. An example of how this works is <http://electrical4u.com/9s-complement-and-10s-c...

1년 이상 전

해결됨

Determine if a Given Number is a Triangle Number
*Description:* Determine if the elements of an input array are triangle numbers and return the result as an array with the sa...

1년 이상 전

해결됨

Exponentiation
Given 3 integers b,e,k; find -- mod(b^e,k)

1년 이상 전

해결됨

Sieve of Eratosthenes - 02
"Sift the Two's and Sift the Three's, The Sieve of Eratosthenes. When the multiples sublime, The numbers that remain a...

1년 이상 전

해결됨

Sky full of stars - 02
draw an isosceles triangle with asterisks of size n. For example, for n=6 ' * ' ' *** ' ' **...

1년 이상 전

해결됨

Sky full of stars - 01
draw a right triangle with asterisks of size n. For example, for n=5 '* ' '** ' '*** ' '**** ' ...

1년 이상 전

해결됨

Sum of series
a(n) = n^2 - (n-1)^2 find the summation of the series upto n i.e. a(1)+a(2)+...+a(n)

1년 이상 전

해결됨

Project Euler: Problem 10, Sum of Primes
The sum of the primes below 10 is 2 + 3 + 5 + 7 = 17. Find the sum of all the primes below the input, N. Thank you <http:/...

약 2년 전

질문

Best way to calculate the determinants of a series of matrices?
I've got a series of time-dependent matrices which I'd like to calculate the determinants of. These matrices are stored as a t...

약 2년 전 | 답변 수: 4 | 0

### 4

답변

해결됨

Set the array elements whose value is 13 to 0
Input A either an array or a vector (which can be empty) Output B will be the same size as A . All elements of A equal to 13...

약 2년 전

해결됨

Fill a zeros matrix
The aim is to fill an array of all zeros given a numerical value and the index of row and columns for this value. 3 Inputs: ...

약 2년 전

해결됨

Getting the indices from a matrice
Getting the indices from a matrice. Inspired by Problem 645. Getting the indices from a vector by the great Doug Hull. Given a...

약 2년 전

해결됨

Get the elements of diagonal and antidiagonal for any m-by-n matrix
In the problem <http://www.mathworks.com/matlabcentral/cody/problems/858-permute-diagonal-and-antidiagonal Problem 858. Permute ...

약 2년 전

해결됨

Replicate elements in vectors
Replicate each element of a row vector (with NaN) a constant number of times. Examples n=2, A=[1 2 3] -> [1 1 2 2 3 3] ...

약 2년 전

해결됨

Return a list sorted by number of consecutive occurrences
Inspired by Problem 38 by Cody Team. Given a vector x, return a vector y of the values in x sorted by the number of CONSECUTIVE...

약 2년 전