Info

This question is closed. Reopen it to edit or answer.

Can someone help me with graphing a file from excel after importing it?

1 view (last 30 days)
Hello I am needing to import a file from excel. In this file the first column is my magnitudes and the second is my directions. I'm needing to create a code that will import this data and calculate the vectors and their resulting force. I am then needing it to plot these vectors and their resulting force. Thank you in advance for any help or tips.

Answers (1)

Image Analyst
Image Analyst on 25 Oct 2015
You can use xlsread() or readtable() to red in your workbook. But then the data will be in columns in arrays in your program. It's not clear what you mean by "calculate the vectors and their resulting force." What is the formula you need to use on the imported magnitude and direction vectors to get those?

Community Treasure Hunt

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

Start Hunting!