Outputting values over time for many times

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.

Réponses (0)

Cette question est clôturée.

Question posée :

le 15 Août 2012

Clôturé :

le 20 Août 2021

Community Treasure Hunt

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

Start Hunting!

Translated by