![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/10303649_1522135700056_DEF.jpg)
Alex chavez
Followers: 0 Following: 0
Statistics
RANK
286,688
of 292,807
REPUTATION
0
CONTRIBUTIONS
1 Question
1 Answer
ANSWER ACCEPTANCE
0.0%
VOTES RECEIVED
0
RANK
of 19,941
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANK
of 147,978
CONTRIBUTIONS
0 Problems
0 Solutions
SCORE
0
NUMBER OF BADGES
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Feeds
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 =...
7 years ago | 1 answer | 0
1
answerI 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 ago | 0