![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/10303649_1522135700056_DEF.jpg)
Alex chavez
自 2017 起处于活动状态
Followers: 0 Following: 0
Feeds
提问
What is this for loop doing since numfires equals one and what is actually happening inside the loop with this line "C(fires(i,1),fires(i,2))=2;"?
function y = fire_sim(N,p) figure(1); %sets size of forest NxN C = ones(N,N); Z = zeros(N,N); x =...
7 years 前 | 1 个回答 | 0
1
个回答已回答
I am trying to run a forest fire simulation. However, when I run the following code in Matlab, the plot window is blank. What do i do?
What is this for loop doing since numfires equals one and what is actually happening inside the loop with this line "C(fires(i,1...
I am trying to run a forest fire simulation. However, when I run the following code in Matlab, the plot window is blank. What do i do?
What is this for loop doing since numfires equals one and what is actually happening inside the loop with this line "C(fires(i,1...
7 years 前 | 0