photo

Yihan Liu


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

Followers: 0   Following: 0

Statistiques

  • First Answer

Afficher les badges

Feeds

Afficher par

Question


[Assignment]Write a function called saddle that finds saddle points in the input matrix M.
Write a function called saddle that finds saddle points in the input matrix M. For the purposes of this problem, a saddle point ...

plus de 5 ans il y a | 15 réponses | 1

15

réponses

Réponse apportée
Write a function called corners that takes a matrix as an input argument and returns four outputs: the elements at its four corners in this order: top_left, top_right, bottom_left and bottom_right. (Note that loops and if-statements are neither neces
Well, this one could work. function [a,b,c,d]=corners(A) [m,n] = size(A); a=A(1,1); % Top left b=A(1,n); % Top right c=A(m,...

plus de 5 ans il y a | 3