photo

Alex chavez


Actif depuis 2017

Followers: 0   Following: 0

Statistiques

  • First Answer

Afficher les badges

Feeds

Afficher par

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

environ 7 ans il y a | 1 réponse | 0

1

réponse

Réponse apportée
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...

environ 7 ans il y a | 0