Scan a row and replace any values equal to zero

I need to replace any zero values in the columns of a specific row, i +1, of a matrix, cA, with a specific value, say 1E-07. How would I do that?

 Accepted Answer

More Answers (0)

Tags

Asked:

on 5 Oct 2021

Answered:

on 5 Oct 2021

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!