Note: the values used here are not actual values read from excel file The file t
ID: 3849711 • Letter: N
Question
Note: the values used here are not actual values read from excel file
The file that holds the original data is an excel file with columns labelled Fx Fy Fz Tx Ty and Tz
The goal is to have an output that looks like this:
Fx = 70
Fy = 78
Fz = 90
Tx = 68
Ty = 80
Tz = 39,
I used the following code and had errors:
%%
x = dlmread ('C:UserssalomeDesktopsGarfield_June_29-m11-t0-mini40.csv',',',1,1);
for i = 1:1:6
names = {'X-Force','Y-Force','Z-Force','X-Torque','Y-Torque','Z-Torque'};
j1= mean (x(:,i)) ;
for j1 = names (i) & i = 1:1:6
j1 = mean(x(:,i))
end
end
Explanation / Answer
#include #include #include #include using namespace std; int main() { ifstream indata; ofstream outdata; outdata.open("file.csv", ios::app); outdataRelated Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.