Community Profile


Hicham Satti

Last seen: 3 years ago Active since 2020

PhD Student in Nuclear Physics


  • First Answer

View badges

Content Feed

View by

how to find the element which is greater than or equal to its row and smaller or equal to its column in a matrix
%Hope it will help you!! function indices = saddle(M) M; %[row col] = size(M); indices=[]; ind_row_col = []; for i=1:row ...

3 years ago | 1

Function to find the next prime number...
%That will run very well function k=next_prime(n) if ~n>0 || n~=fix(n) || ~isscalar(n) error ('Tap a integer positif scal...

3 years ago | 0