Borrar filtros
Borrar filtros

Double integration inside a for loop

4 visualizaciones (últimos 30 días)
Anna
Anna el 28 de Feb. de 2017
Comentada: Torsten el 28 de Feb. de 2017
Hi,
I am working with vectors and the whole script I have been using for loops to calculate the next vector and so on. In my problem I have several measurements which are arranged into vectors, thus each value in the vector represents a measurement.
Now I am to perform a double integral for each value in the vector. I assume I have to have a for loop outside the double integral to get a resulting vector. How do I do this?
I have R_wave(i), zeta_A(i) and an E(i). The formula I wish to code is attached as a photo.
I found this problem hard to formulate, so please let me know if something is unclear.
  1 comentario
Torsten
Torsten el 28 de Feb. de 2017
If you take a look at the example "Multiple Numerical Integrations" under
https://de.mathworks.com/help/matlab/ref/trapz.html
does this help ?
Best wishes
Torsten.

Iniciar sesión para comentar.

Respuestas (0)

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!

Translated by