Réponses (1)

Star Strider
Star Strider le 25 Jan 2021

0 votes

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 commentaire

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

Connectez-vous pour commenter.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by