I want to plot some graph, I already store the data for each iterarion but it still error
;

댓글 수: 3

Daniel Pollard
Daniel Pollard 2020년 12월 14일
When I run your code, it says that the variable S does not exist. S is defined within an else part of an if statement, so may not be produced. Check where the end commands are and where they're supposed to be, and check whether you need to preallocate S.
Steve
Steve 2020년 12월 14일
Could you help me solve the program? i don’t know what to do next
Daniel Pollard
Daniel Pollard 2020년 12월 14일
All you've done is copy and pasted a very long code and said "this gives me an error". I don't know what the code is supposed to do and I don't know anything about what you're trying to achieve. I told you the source of the error message, but I don't know how to fix it because I don't know what your variables are meant to be, or what value they're supposed to take. The if statement isn't satisfied - I don't know why, and I wouldn't know the best way to fix it without knowing the code in detail.

댓글을 달려면 로그인하십시오.

답변 (1개)

카테고리

도움말 센터File Exchange에서 Mathematics에 대해 자세히 알아보기

태그

질문:

2020년 12월 14일

답변:

2020년 12월 14일

Community Treasure Hunt

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

Start Hunting!

Translated by