photo

Aramis


Last seen: 3 Monate vor Aktiv seit 2024

Followers: 0   Following: 0

Statistik

  • First Answer

Abzeichen anzeigen

Feeds

Anzeigen nach

Beantwortet
how to find the element which is greater than or equal to its row and smaller or equal to its column in a matrix
The best solution function s = saddle(M) % Create logical vector that are true for each saddle condition separately m...

5 Monate vor | 0

Beantwortet
Sparse Matrix, struct, structure, Using cell arrays
function matrix = sparse2matrix(cellvec) matrix = ones(cellvec{1}) * cellvec{2}; for x=3:length(cellvec) matr...

7 Monate vor | 0

Beantwortet
next prime number using While loops
THE BEST ANSWER function k = next_prime(n) k=n; while isprime(k)==false || k==n k = k+1; end end ...

10 Monate vor | 0

Beantwortet
Write a function called valid_date that takes three positive integer scalar inputs year, month, day. If these three represent a valid date, return a logical true, otherwise false. The name of the output argument is valid.
The best answer function valid = valid_date(year,month,day) if not(isscalar(year))|| not(isscalar(month)) || not(isscalar(...

10 Monate vor | 1