Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Great, great Request
Date: Tue, 25 Aug 2009 02:40:21 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 19
Message-ID: <h6viul$48e$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-03-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1251168021 4366 172.30.248.38 (25 Aug 2009 02:40:21 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Tue, 25 Aug 2009 02:40:21 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1541543
Xref: news.mathworks.com comp.soft-sys.matlab:565702


Hello,

I have a request and please help me. I think it is easy, but I failed. 
It is urgent.

I have a physical problem that I am solving in Matlab.
I have 4 pulses f1(t), f2(t)... radiated from different receivers R(1), R(2)....
I have already written a loop for one pulse that characterizes f1(t) pulse propagation in medium:

for t=1:nmax
....................
R(1)=f1(t)
...................
end

My problem is that I would like to consider in the same loop 4 different pulses. When calculation for f1(t) is finished, calculation for f2(t) should start automatically...and so on. 
Of course, I can copy 4 times the same loop for different pulses, but this loop is too big and it is very inconvenient. Please, help me. It is urgent.