Division using for loop
11 views (last 30 days)
I need to use for loop to divide elements of two arrays. I know it's more effcient to use vectors but the task specifies for loop.
A= [1 2 3 4 5]
B = [2 3 4 5 6]
How do I divide each element by the corresponfin element in A & B using for loop?