Community Profile

photo

cyril


MathWorks MOOC Program

Last seen: plus de 3 ans il y a Actif depuis 2014

Followers: 0   Following: 0

Contact

Statistiques

  • First Review
  • Thankful Level 1
  • First Answer

Afficher les badges

Feeds

Afficher par

Question


How can I get elegantly an upper triangle random matrix (0 elsewhere)?
I have seen the triu and tril functions, but I can't use them to set to 0: A = rand(4); tril(A)=0; % won't work any i...

presque 10 ans il y a | 1 réponse | 0

1

réponse

Question


Simple calculations giving high imprecisions
I'm doing the following simple code, that aims to find a point position knowing distances in 2D but the outputs is far from t...

presque 10 ans il y a | 1 réponse | 0

1

réponse

Question


gaussian kernel smoothing, how to optimize parameter sigma?
Hi, my question is how to find an optimal standard deviation for the gaussian kernel filter smoothing? too large, we are lo...

presque 10 ans il y a | 1 réponse | 0

1

réponse

Question


Does matlab have matrix broadasting
This x=[1:3]'; x.^(1:5) would work on Octave thanks to <https://www.gnu.org/software/octave/doc/interpreter/Broadcastin...

environ 10 ans il y a | 1 réponse | 0

1

réponse

Question


A logical indexing for row-wise max
I'm wondering if there is anything simpler than: x = [2 3;3 1] [a,b]=max(x, [], 2); % now return the matrix containin...

environ 10 ans il y a | 1 réponse | 0

1

réponse

A répondu
Defining function handles in MATLAB
> f = @(x) 2*x^3+7*x^2+x; > f(0) 0 surprising no one mentioned anonymous functions...

environ 10 ans il y a | 3