How can I divide two columns of data?
Show older comments
I have a file with two columns of data.
Column A:
2; 4; 6; 8; 10;
Column B:
2; 4; 3; 4; 5;
I want to divide these columns (A/B) to get the result:
1; 1; 2; 2; 2;
How can I do this?
Answers (1)
Walter Roberson
on 1 May 2019
2 votes
A./B
Categories
Find more on Matrices and Arrays 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!