Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
How to access the correct index?
조회 수: 1 (최근 30일)
이전 댓글 표시
Hi there!
I attached my code in 1.png. I am having problems with the index. I also attached 2 results. "2.png" (left picture) is the CORRECT result. "3.png" (right picture) is the result I'm getting. You can see that in my result, the first element is -104.4217 but in the correct result, -104.4217 is at the SECOND element. Am I doing something stupid? I'm trying to figure it out but I couldn't seem to find out what is wrong.
Can anyone help me, please?
Thanks!
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/192653/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/192655/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/192656/image.png)
답변 (0개)
이 질문은 마감되었습니다.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!