Thomas
self employed
Followers: 0 Following: 0
Statistiques
RANG
5 738
of 292 676
RÉPUTATION
8
CONTRIBUTIONS
8 Questions
3 Réponses
ACCEPTATION DE VOS RÉPONSES
62.5%
VOTES REÇUS
8
RANG
9 249 of 19 931
RÉPUTATION
74
CLASSEMENT MOYEN
3.70
CONTRIBUTIONS
19 Fichiers
TÉLÉCHARGEMENTS
24
ALL TIME TÉLÉCHARGEMENTS
574
RANG
of 147 817
CONTRIBUTIONS
0 Problèmes
0 Solutions
SCORE
0
NOMBRE DE BADGES
0
CONTRIBUTIONS
0 Publications
CONTRIBUTIONS
0 Public Chaîne
CLASSEMENT MOYEN
CONTRIBUTIONS
0 Point fort
NOMBRE MOYEN DE LIKES
Feeds
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...
environ un an il y a | 0
Question
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...
environ un an il y a | 1 réponse | 0
1
réponseHow 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...
environ un an il y a | 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); ...
environ un an il y a | 0
Question
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...
environ 2 ans il y a | 2 réponses | 2
2
réponsesQuestion
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 ...
environ 3 ans il y a | 1 réponse | 0
1
réponseQuestion
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...
plus de 3 ans il y a | 1 réponse | 4
0
réponseQuestion
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...
plus de 3 ans il y a | 1 réponse | 0
1
réponseQuestion
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...
plus de 4 ans il y a | 1 réponse | 0
1
réponseQuestion
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...
presque 5 ans il y a | 2 réponses | 0
2
réponsesQuestion
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...
presque 5 ans il y a | 4 réponses | 2