I am trying to find resultant force through inputs of magnitude and direction, I am first required to input how many data sets 1-10. I can get my program to repeat but whatever is the last input for both my magnitude and direction just overwrites the other inputs I had just put in for them. How do I make it so that each inut pair of magnitude and direction can be used to find their own corresponding resultant force?
MATLAB: How to repeat input prompt for each data set
data setinputlooppromptrepeat
Related Question
- What’s wrong in this code? why is this not displaying whole matrix?and how to sum whole matrix
- I don’t know what’s wrong in this code, it doen’t produce a graph.
- How can I write a program that take input(only 2 digit numbers) from the user and prints the division of 1st with respect 2nd(if I select input as 12 the ans would 0.5) .The program must repeat using while loop until both the digits entered are zer
Best Answer