How I able to replace a element in a particular position of matrix with a another value

14 次查看(过去 30 天)
I have B=ones(5,5) matrix
now i want to change the 1st row 3rd column element value from 1 to 0.
what is the command for doing that

回答(1 个)

Voss
Voss 2022-1-5

类别

Help CenterFile Exchange 中查找有关 Matrix Indexing 的更多信息

产品


版本

R11.1

Community Treasure Hunt

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

Start Hunting!

Translated by