Do not understand how to make my index exceed 1. (thank you)

2 次查看(过去 30 天)

回答(1 个)

Torsten
Torsten 2023-11-25
移动:Torsten 2023-11-25
In the first line of the for-loop, you set bstress to a scalar value.
So in the statement
if bstress(i) < NegEstress(i)
bstress(i) does not exist when i > 1.

类别

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

Community Treasure Hunt

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

Start Hunting!

Translated by