photo

viswaja Katragadda


Active since 2017

Followers: 0   Following: 0

Statistics

MATLAB Answers

4 Questions
0 Answers

RANK
26.224
of 297.503

REPUTATION
1

CONTRIBUTIONS
4 Questions
0 Answers

ANSWER ACCEPTANCE
0.0%

VOTES RECEIVED
1

RANK
 of 20.449

REPUTATION
N/A

AVERAGE RATING
0.00

CONTRIBUTIONS
0 Files

DOWNLOADS
0

ALL TIME DOWNLOADS
0

RANK

of 159.017

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

View by

Question


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 ]; ...

meer dan 7 jaar ago | 1 answer | 0

1

answer

Question


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

meer dan 7 jaar ago | 2 answers | 1

2

answers

Question


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

meer dan 7 jaar ago | 1 answer | 0

1

answer

0

answers