Divide elements of one vector by another
330 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Eoghan Daly
el 30 de Nov. de 2015
Comentada: Daniel
el 21 de Mzo. de 2024
Hi MATLAB People,
I have two 35x1 vectors A & B. how do I divide each individual element of A by its corresponding element in B into a new 35x1 vector C?
0 comentarios
Respuesta aceptada
Star Strider
el 30 de Nov. de 2015
Use the element-wise dot operator (./) division:
C = A./B
6 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Logical en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!