Using a variable value as linear array index
7 views (last 30 days)
Show older comments
Can you use a variable as an array index? for example: C = 200 - 30
then use C as the linear index for the array.
B(C)
This just multiplies B by C. Can you tell the program to just use the value of C?
0 Comments
Accepted Answer
More Answers (0)
See Also
Categories
Find more on Matrix Indexing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!