syntax martix matlab answer
Info
This question is closed. Reopen it to edit or answer.
Show older comments
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 ?
Answers (2)
Stephan
on 1 Sep 2018
0 votes
Hi Melissa,
sounds like homework. You find the answer here:
Best regards
Stephan
melissa tan
on 1 Sep 2018
0 votes
8 Comments
Stephan
on 1 Sep 2018
?
melissa tan
on 1 Sep 2018
Walter Roberson
on 1 Sep 2018
Read about linear indexing.
Melissa - we do not do homework here for others. This also includes your homework. I gave you a link - read it. Then try it in Matlab and see what happens. If you get stuck by trying it - here is the right place to ask. But you have to show us that you have tried it.
melissa tan
on 1 Sep 2018
Stephan
on 1 Sep 2018
Yes
Image Analyst
on 1 Sep 2018
Doesn't look like you read about linear indexing like Walter suggested. Did you look at A(8)?
This question is closed.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!