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

조회 수: 1 (최근 30일)
Harman Johal
Harman Johal 2023년 11월 25일
이동: Torsten 2023년 11월 25일

답변 (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