Azzera filtri
Azzera filtri

Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

Outputting values over time for many times

1 visualizzazione (ultimi 30 giorni)
Gibliano
Gibliano il 15 Ago 2012
Chiuso: MATLAB Answer Bot il 20 Ago 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.

Risposte (0)

Questa domanda è chiusa.

Community Treasure Hunt

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

Start Hunting!

Translated by