Community Profile

photo

Ciara Gornoski


Actif depuis 2018

Followers: 0   Following: 0

Statistiques

Feeds

Afficher par

Question


Using nested loops, write a Matlab program that goes through all elements of a matrix (2D array) and replaces every element that is either a multiple of 5 or 7 with -1.
This is what I have so far... A=input('enter an array'); num_rows = size(A,1); num_cols = size(A,2); f...

environ 6 ans il y a | 1 réponse | 0

1

réponse