How to divide whole string with specific number?
1 view (last 30 days)
Show older comments
A = [1 2 3 4 5 6 7 8 9];
A_2 = A/2;
divide = [6 7 8 9 6 3 4 2 5]
results = A/divide
Output should be string but I am getting only one value. How to divide whole string ?
0 Comments
Accepted Answer
the cyclist
on 13 Dec 2021
Edited: the cyclist
on 13 Dec 2021
A = [1 2 3 4 5 6 7 8 9];
A_2 = A/2;
divide = [6 7 8 9 6 3 4 2 5];
results = A./divide
0 Comments
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!