Info

此问题已关闭。 请重新打开它进行编辑或回答。

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

1 次查看(过去 30 天)
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.

回答(1 个)

Image Analyst
Image Analyst 2015-10-25
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!

Translated by