Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function temp_update = temperature_update(temp_matrix, row, column)
- % Refreshes the temperature cell.
- temp_update = (temp_matrix(row - 1, column) + temp_matrix(row + 1, column) + temp_matrix(row, column - 1) + temp_matrix(row, column + 1)) / 4;
Advertisement
Add Comment
Please, Sign In to add comment