Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

syntax martix matlab answer

조회 수: 5 (최근 30일)
melissa tan
melissa tan 2018년 9월 1일
마감: MATLAB Answer Bot 2021년 8월 20일
1 Let A = [0 2 0 4 5; 1 20 3 40 5; 10 200 30 40 50]
a) Write the MATLAB syntax to get the 8th element of A?
How do i write the matlab syntax for this question ?

답변 (2개)

Stephan
Stephan 2018년 9월 1일
Hi Melissa,
sounds like homework. You find the answer here:
Best regards
Stephan

melissa tan
melissa tan 2018년 9월 1일
the 8th element the question is referring isit 3?
  댓글 수: 8
Image Analyst
Image Analyst 2018년 9월 1일
Doesn't look like you read about linear indexing like Walter suggested. Did you look at A(8)?
Stephan
Stephan 2018년 9월 1일
편집: Stephan 2018년 9월 1일
Why are you so unconfident If you Type A (8) and get 3 as result. And you type A (2,3) and get 3 as result. Look at your matrix. How many 3 are there? What can you conclude from this? Read the link

이 질문은 마감되었습니다.

태그

Community Treasure Hunt

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

Start Hunting!

Translated by