配列内の要素を行ごとに演算する方法を教えてください
Afficher commentaires plus anciens
例えば、下記配列A
A=
3 6
4 2
8 1
6 3
7 3
を配列B
B=
1行目1列目÷1行目2列目
2行目1列目÷2行目2列目
3行目1列目÷3行目2列目
4行目1列目÷4行目2列目
5行目1列目÷5行目2列目
を配列Bに格納する方法が知りたいです。
B=
3/6
4/2
8/1
6/3
7/3
1 commentaire
SH
le 19 Fév 2018
Réponse acceptée
Plus de réponses (1)
Yoshio
le 20 Fév 2018
2 votes
是非無償で利用できる MATLAB 入門 https://jp.mathworks.com/training-schedule/matlab-onramp.html を使って勉強してみてください。2時間やってみると、お尋ねの質問は自分で解けるようになります。
Catégories
En savoir plus sur 算術演算 dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!