### Highlights from Two Dimensional Random Walk

3.0
3.0 | 7 ratings Rate this file 0 Downloads (last 30 days) File Size: 1.06 KB File ID: #14864 Version: 1.0

# Two Dimensional Random Walk

### DBR Rawat (view profile)

03 May 2007 (Updated )

Two Dimensional Random Walk plot

File Information
Description

It is a 2-Dimensional Random Walk process program in matlab.

MATLAB release MATLAB 7.4 (R2007a)
14 May 2007 Jos x@y.z

A couple remarks for this homework solution:
- several (most!) variables are never used (T,s,t, mx,my,mr)
- explain what the input variable n is in the help, because not "any value of time n" is valid. (it can be a positive integer only!)
- add an error check for that in the code
- The help can be improved. Explain what the user may expect (a plot!).
- why not return both X and Y?

- Have you actually typed "help two_D_Rand_walk"? What you get is not very informative for the user, isn't it? Or do you want a lot of emails ;-)

09 May 2007 D.C. Bijen.

Fairly simple but useful for two independent and random variable representating 2-dimensional random walk.. I found useful one.. Anyway thanks for the contribution

07 May 2007 x y

Meets all submission requirements. Can't find fault with things not stated in submission requirements.

07 May 2007 Joseph nonereally

Now, hold on here. I think there are some interesting points shown in this submission. Sure, it is fairly simple; but the concept can be utilized as a possible building block for an MC simulation. It is very well documented.

However, I would suggest moving the function call to the top of the m-file.

07 May 2007 John D'Errico

I'm not sure that "Poor" or "Needs Improvement" is the right description for this. "Needs some reason for existence" is a better description. Yes, I'm sure the author is proud of their homework. But that does not make it of any value to the rest of the world. This does nothing for anybody else but take up space and make it harder for people to find useful codes on the file exchange.

As far as the actual code goes, I've seen far worse. It has some comments. Its not a script. Its even "vectorized".

Were I to give this a rating as a homework assignment (a category which does not exist on the FEX) it might receive a decent rating. But I'm sorry, this provides only clutter on the FEX.

06 May 2007 Dimitri Shvorob

A too-simple-for-FEX in-essence-script producing only {-1,1} sequences.

04 May 2007 Nui Nu
03 May 2007 buh buh

%ECE 651 Homework 9-Problem Number - 7

I was really more interested in problem 4 from HW set number 4. Could you upload please?

Comment only