Christian Schröder - MATLAB Cody - MATLAB Central

Christian Schröder

5
Rank
90
Badges
51616
Score
1 – 50 of 5,245

Christian Schröder submitted a Comment to Solution 14564738

@Lloyd it does have one, in the [3 4 7] row of the input matrix.

17 hours and 4 minutes ago

Christian Schröder submitted a Comment to Problem 60790. Implement Shor's algorithm

Fair point. I've changed the test suite so that the function being written out is visible, for the sake of easier testing.

on 18 Feb 2025 at 7:35

Christian Schröder submitted a Comment to Problem 60790. Implement Shor's algorithm

@William it's created by the test suite, before the first test.

on 17 Feb 2025 at 17:40

Christian Schröder submitted a Comment to Problem 615. Nilpotent matrix

This needs some test cases with matrices that have zero eigenvalues but are not nilpotent.

on 4 Feb 2025 at 7:12

Christian Schröder submitted a Comment to Problem 3095. Return fibonacci sequence do not use loop and condition version 2

@Xinyi Xu You can shorten "UniformOutput" to "Uni"; that should avoid accidentally tripping that particular restriction.

on 24 Jan 2025

Christian Schröder submitted a Comment to Problem 2423. Integer Sequence - II : New Fibonacci

@Wayne The problem description is indeed terse... the values of the sequence are given in the test cases, and you're supposed to find out the mathematical rule that was used to generate them. For the actual rule, see e.g. solution 1879955.

on 22 Jan 2025

Christian Schröder submitted a Comment to Problem 2549. length of a vector

"length" here refers to the number of elements - and yes, the problem description could be clearer.

on 20 Jan 2025

Christian Schröder submitted a Comment to Solution 14525620

I'm not sure why str2num is banned, BTW; I originally used it on line 10.

on 16 Jan 2025

Christian Schröder submitted a Comment to Problem 60786. Count the primes resulting from changing one digit of a number

If you change the first digit of 73 from a 7 to a 0, you also get a prime - but here, we only consider primes with the same number of digits as the original number, correct?

on 16 Jan 2025

1 – 50 of 5,245
Go to top of page