Info

此问题已关闭。 请重新打开它进行编辑或回答。

Outputting values over time for many times

1 次查看(过去 30 天)
Gibliano
Gibliano 2012-8-15
关闭: MATLAB Answer Bot 2021-8-20
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.

回答(0 个)

此问题已关闭。

标签

Community Treasure Hunt

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

Start Hunting!

Translated by