资源简介

用matlab写的,用于生成随机路径的方法

资源截图

代码片段和文件信息


%*****************************************
%Author:        Danda B. Rawat
%Coded on:      April 18 2007
%Modified on:   April 23 2007
%Academic Institution: ODU
%Email:         dbrawat@gmail.com
%ECE 651 Homework 9-Problem Number - 7 
%**************************************** 

%To make a program user friendly I used function namely “two_D_Rand_walk()“ so that user can take
%any value of time n as input.

% to run the program just tye the folloeing line in the command line of
% Matlab you will get the desired random walk

%   >> two_D_Rand_walk(100) 

% function [X] = two_D_Rand_walk(n);
clcclfclear;
n=

评论

共有 条评论