photo

Alex chavez


Active since 2017

Followers: 0   Following: 0

Statistics

  • First Answer

View badges

Feeds

View by

Question


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 =...

ongeveer 7 jaar ago | 1 answer | 0

1

answer

Answered
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...

ongeveer 7 jaar ago | 0