Clear Filters
Clear Filters

How can I divide two columns of data?

49 views (last 30 days)
onamaewa
onamaewa on 1 May 2019
Answered: Walter Roberson on 1 May 2019
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
Walter Roberson on 1 May 2019
A./B

Categories

Find more on Multidimensional 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!