Please, how can I program this in MATLAB?

1 次查看(过去 30 天)
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.

采纳的回答

Star Strider
Star Strider 2017-3-17
This works:
A = [3 6 8 9 632 28 56 1360];
T = [4 7 12 21 54 18 22 15];
R(A) = T;

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 MATLAB 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by