Community Profile

Contact

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...

1 Answers

0

Asked 10 months ago

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...

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

Asked 12 months ago

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

> f = @(x) 2*x^3+7*x^2+x; > f(0) 0 surprising no one mentioned anonymous functions...

Answered 1 year ago

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

0 Answers

Asked 11 months ago