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
Asked 1 year 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...
would work on Octave thanks to <https://www.gnu.org/software/octave/doc/interpreter/Broadcastin...
Asked 2 years 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;
surprising no one mentioned anonymous functions...
Answered 2 years ago
Hi, my question is how to find an optimal standard deviation for the gaussian kernel filter smoothing?
too large, we are lo...
Choose your country to get translated content where available and see local events and offers. Based on your location, we recommend you select United States from the following list:
See all countries