Multiplying two variables in a table together
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
AluminiumMan
el 5 de Mzo. de 2024
Comentada: Voss
el 5 de Mzo. de 2024
How would you multiply two variables/columns together from a table together, to create a new variable/column?
Lets say for example you have the following table:
Time Voltage Current
_____ _____ _____
1 8 2
2 9 4
3 6 6
And you want to multiply voltage and current together at each sample.
So you'd end up with a 4th column/variable called power that is voltage multiplied by current at each time interval
0 comentarios
Respuesta aceptada
Más respuestas (0)
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!