whats wrong with my code??
Show older comments
Answers (1)
Star Strider
on 25 Jan 2021
Yoiu need to do element-wise operationsn (using the dot operator):
v=((m.*g)-(m.*a))./k
1 Comment
Star Strider
on 25 Jan 2021
If my Answer helped you solve your problem, please Accept it!
.
Categories
Find more on Logical in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!