photo

Alex chavez


Attivo dal 2017

Followers: 0   Following: 0

Statistica

  • First Answer

Visualizza badge

Feeds

Visto da

Domanda


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

circa 7 anni fa | 1 risposta | 0

1

risposta

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

circa 7 anni fa | 0