Please, how can I program this in MATLAB?
1 view (last 30 days)
Show older comments
SAMUEL AYINDE
on 17 Mar 2017
Commented: Star Strider
on 17 Mar 2017
A = [3 6 8 9 632 28 56 1360]
T = [4 7 12 21 54 18 22 15]
Please, how can I acheive this in MATLAB?
R(3,1) = 4
R(6,1) = 7
R(8,1) = 12
R(9,1) = 21
R(632,1)= 54
R(28,1) = 18
R(56,1) = 22
R(1360,1) = 15
Thank you.
0 Comments
Accepted Answer
Star Strider
on 17 Mar 2017
This works:
A = [3 6 8 9 632 28 56 1360];
T = [4 7 12 21 54 18 22 15];
R(A) = T;
2 Comments
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!