統計
MATLAB Answers
0 質問
1 回答
ランク
of 171,169
コントリビューション
0 問題
0 解答
スコア
0
バッジ数
0
コントリビューション
0 投稿
コントリビューション
0 パブリック チャネル
平均評価
コントリビューション
0 ハイライト
平均いいねの数
Feeds
回答済み
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
function [a,b,c,d]=corners(x) a=x(1,1) b=x(1,end) c=x(end,1) d=x(end,end) end
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
function [a,b,c,d]=corners(x) a=x(1,1) b=x(1,end) c=x(end,1) d=x(end,end) end
約6年 前 | 6
