![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/9627518_1522133581695_DEF.jpg)
viswaja Katragadda
Followers: 0 Following: 0
Statistik
4 Fragen
0 Antworten
RANG
40.637
of 297.016
REPUTATION
1
BEITRÄGE
4 Fragen
0 Antworten
ANTWORTZUSTIMMUNG
0.0%
ERHALTENE STIMMEN
1
RANG
of 20.419
REPUTATION
N/A
DURCHSCHNITTLICHE BEWERTUNG
0.00
BEITRÄGE
0 Dateien
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANG
of 157.725
BEITRÄGE
0 Probleme
0 Lösungen
PUNKTESTAND
0
ANZAHL DER ABZEICHEN
0
BEITRÄGE
0 Beiträge
BEITRÄGE
0 Öffentlich Kanäle
DURCHSCHNITTLICHE BEWERTUNG
BEITRÄGE
0 Highlights
DURCHSCHNITTLICHE ANZAHL DER LIKES
Feeds
Frage
Hello I have this code for Game of life now I am getting an error in calculating the num_neighbors. Please help me fix it. Thank you
mylife = round(rand(size_of_game,size_of_game)); %mylife = [0 0 0 0 0;0 0 0 0 0;0 1 1 1 0;0 0 0 0 0 ;0 0 0 0 0 ]; ...
mehr als 7 Jahre vor | 1 Antwort | 0
1
AntwortFrage
Calculating the inner product of two input vectors and a matrix using for loop and inner function. How do I change the code I have? Thank you so much for your answers.
function y = inner(a,b); % This is a MatLab function to compute the inner product of % two vectors a and b. % C...
mehr als 7 Jahre vor | 2 Antworten | 1
2
AntwortenFrage
can anyone help me get the code for the Cellular automata model which Implements and visualizes 1000 generations starting from a random initial states of 0 and 1. The size of the square universe should be user provided.
The rules to update the next generation is: 1. A cell will die in the next generation if 4 or more of its neighbours are dead a...
mehr als 7 Jahre vor | 1 Antwort | 0
1
AntwortFrage
Write a Matlab function that uses the Monte Carlo approach to approximating "pi" using the relative areas of a square and an inscribed circle. I have code but I am not sure how to change it to monte carlo
r = 1; % the circle radius nodp = 1:5; % Number of Decimal Places (NODP) for Pi i=1; ...
mehr als 7 Jahre vor | 0 Antworten | 0