Community Profile

photo

Thomas


self employed

Last seen: 대략 1개월 전 2019년부터 활동

Followers: 0   Following: 0

연락

통계

All
  • Thankful Level 3
  • First Answer
  • Thankful Level 2
  • 5-Star Galaxy Level 2
  • Personal Best Downloads Level 1
  • First Review
  • First Submission

배지 보기

Feeds

보기 기준

제출됨


A simple quaternion class
class with some basic operations on quaternions

7개월 전 | 다운로드 수: 1 |

Thumbnail

제출됨


discrete logarithm
compute the discrete logarithm using Shank's algorithm

7개월 전 | 다운로드 수: 3 |

답변 있음
How to create an array of matrices?
function aM = arrayofmatrices(A,B,C) aM(:,:,1) = A; aM(:,:,2) = B; aM(:,:,3) = C; end This only works when A, B and C hav...

10개월 전 | 0

질문


I try to find a general vector base for all magic squares of dimension n . Why does this program work for n = 3, but not vor n > 3?
The program below is supposed to find a general vector base for all magic squares of dimension n . Why does this program work fo...

10개월 전 | 답변 수: 1 | 0

1

답변

답변 있음
How can i check if a matrix is magic square or not?
try: function ismagic = ismagic(M) %ISMAGIC checks if a matrix M is a magic square or not if size(M,1) ~= size(M,2) is...

10개월 전 | 0

답변 있음
How can i create array of symbolic expressions?
does this help? function array_of_symbolicExpressions(mx) syms t y(t); y(t) = t^3+t^2; % just an example d = diff(y); ...

10개월 전 | 0

제출됨


Simple Chess game
I tried to keep it "minimalistic", so strength isn't great.

1년 초과 전 | 다운로드 수: 5 |

Thumbnail

제출됨


Two versions of Pollard's rho factorization algorithm
one version with Brent's style cycle detection, one without but using vectors and matrices

거의 2년 전 | 다운로드 수: 2 |

Thumbnail

제출됨


sieve of Erathostenes
a simple number sieve, which could (in theory) run forever, because it does not require an interval to be sieved.

거의 2년 전 | 다운로드 수: 1 |

Thumbnail

질문


why is this Matlab Code faster than the C++ code below? I want to understand what Matlab internally does better and faster than C++
why is this Matlab Code function primes = sieve_era2(N) % sieve of Erathostenes without upper bound of search space (could th...

거의 2년 전 | 답변 수: 2 | 2

2

답변

제출됨


find zeros of the Riemann zeta function
This function finds zeros of the Riemann zeta function on the critical line 0.5 + i*t in an interval von <= t <= bis

2년 초과 전 | 다운로드 수: 2 |

Thumbnail

제출됨


Hashlife
a Matlab version of Gosper's hashlife

2년 초과 전 | 다운로드 수: 1 |

Thumbnail

질문


Approximation of pi is "too precise" .
The function below should approximate pi adding about 2 digits of precision for increasing n. Why is piApprox2(3) exactly = pi ...

거의 3년 전 | 답변 수: 1 | 0

1

답변

제출됨


two ways to compute Riemanns prime counting function
one version which works (J2) and one which does not work (J1).

대략 3년 전 | 다운로드 수: 2 |

Thumbnail

질문


Cannot start Matlab - getting error "std::exception: Loading D:\Program Files\MATLAB\R2019b\bin\win64\matlab_startup_plugins\Imgrimpl\lib
When I start Matlab from the Desktop Icon or from the task bar, I get this error: "std::exception: Loading D:\Program Files\M...

대략 3년 전 | 답변 수: 0 | 3

0

답변

제출됨


convert integer to binary or binary to integer
convert a column vetor of integers to a column vector of binaries or vice versa

3년 초과 전 | 다운로드 수: 1 |

Thumbnail

제출됨


zetaRS approximates Riemann's zeta(0.5 + i*t) for large t
Fast computation of Riemann's zeta function on the critical strip using the Riemann Siegel formula.

3년 초과 전 | 다운로드 수: 1 |

Thumbnail

질문


using fzero with arrayfun searching for zeros inside an interval
I have a function f = @(x) -x.^2+4 with a zero at -2 and +2 using fzero(f, [-3, 1.9]) I get the (correct) zero inside the inte...

3년 초과 전 | 답변 수: 1 | 0

1

답변

제출됨


Fast approximation of Pi
Approximate Pi with 16th order convergence

3년 초과 전 | 다운로드 수: 1 |

Thumbnail

제출됨


Create and run Turing machines
Some tools and examples for creating and simulating Turing machines and macro-Turing machines.

3년 초과 전 | 다운로드 수: 2 |

Thumbnail

제출됨


Computation of the rado function
More sophisticated check for endless loops, support for parallel execution and the use of macro-Turing-machines

거의 4년 전 | 다운로드 수: 1 |

Thumbnail

제출됨


uncover the call structure of a recursive function call
recurse(tree) helps to uncover the call structure of a recursive function call.

거의 4년 전 | 다운로드 수: 1 |

Thumbnail

제출됨


GaussLegendre
quick approximation of pi using the Gauss-Legendre algorithm

거의 4년 전 | 다운로드 수: 2 |

Thumbnail

제출됨


two versions of the Euler-phi function
two brief implementations of the Eulerphi function

거의 4년 전 | 다운로드 수: 1 |

Thumbnail

질문


Extract lines of a three dimensional matrix using an array of indices and NO for-loop
I have a three dimensional 10x5x2 array. Example: r(:,:,1) = [1 0 2 1 1; 2 0 3 1 1; 3 0 4 1 1; 4 0 1 1 -1; 5 0 -1 1 1; 1 1 3 1...

대략 4년 전 | 답변 수: 1 | 0

1

답변

제출됨


Computation of Rado-function
Recursive computation of the "uncomputable" Rado-function.

대략 4년 전 | 다운로드 수: 1 |

제출됨


Karatsuba algorithm for fast multiplication
Multiplication of "x" and "y" with Karatsuba method using base "base" x , y and base can be freely chosen

4년 초과 전 | 다운로드 수: 1 |

제출됨


Shor Algorithm for prime factoring
A Version of the Shor-Algorithm for prime Factoring. Please feel free to comment on it or recommend improvements.

4년 초과 전 | 다운로드 수: 5 |

질문


trying to compute Riemann's prime counting function J(x)
I am trying to compute Riemann's prime counting function J(x): J(x) should approximate the numbers of primes <= x using thi...

4년 초과 전 | 답변 수: 2 | 0

2

답변

질문


isprime function seems to have poor performance
Why is MatLab's "isprime" function so much slower than Octave's "isprime" function? I am using MatLab's "isprime" function to c...

4년 초과 전 | 답변 수: 4 | 2

4

답변