Antworten (1)

Star Strider
Star Strider am 25 Jan. 2021

0 Stimmen

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 Kommentar

Star Strider
Star Strider am 25 Jan. 2021
If my Answer helped you solve your problem, please Accept it!
.

Melden Sie sich an, um zu kommentieren.

Tags

Gefragt:

am 25 Jan. 2021

Kommentiert:

am 25 Jan. 2021

Community Treasure Hunt

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

Start Hunting!

Translated by