回答 (1 件)

Star Strider
Star Strider 2021 年 1 月 25 日

0 投票

Yoiu need to do element-wise operationsn (using the dot operator):
v=((m.*g)-(m.*a))./k
See Array vs. Matrix Operations for details.

1 件のコメント

Star Strider
Star Strider 2021 年 1 月 25 日
If my Answer helped you solve your problem, please Accept it!
.

サインインしてコメントする。

カテゴリ

タグ

質問済み:

2021 年 1 月 25 日

コメント済み:

2021 年 1 月 25 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by