photo

Ciara Gornoski


Active since 2018

Followers: 0   Following: 0

Statistics

Feeds

View by

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

meer dan 6 jaar ago | 1 answer | 0

1

answer