Problem Want Edit Code Work Regardless X Y Currently Reference Elements Inside Provided Ma Q37122636

This problem want me to edit my code so that it will workregardless of the x,y. It currently can reference elements notinside of the provided matrix

problem Consider an experiment where bacteria are grown on a petri dish divided into an R-by-C grid. Let matrix M (with R rows, C col

my code function [out] = killbacteria_2d-noedgecase(M,x,y) Kill all M(x,y); M(x,y)-0; %makes the application site zero m(x-1,y-1) = M

Consider an experiment where bacteria are grown on a petri dish divided into an R-by-C grid. Let matrix M (with R rows, C columns) represent the

OR
OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.