Filter löschen
Filter löschen

Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

Outputting values over time for many times

1 Ansicht (letzte 30 Tage)
Gibliano
Gibliano am 15 Aug. 2012
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
I am running a simulation for n timesteps. The final output after n timesteps generate an electric field. I want to output my values for a particular point in my FDTD grid for every time step between 1 and n. I can output the values for individual timesteps with one line of code as follows if t==12 ez_scat12=ez_scat; elseif t==32 ez_scat32=ez_scat;
end
This give me the output for the entire grid at t=12 and t=32 but what I want is to automate the output from t=1....n where I take 1 value for the point of observation.

Antworten (0)

Diese Frage ist geschlossen.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by