Please, how can I program this in MATLAB?

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.

 Risposta accettata

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

2 Commenti

Thank you so much, Star Strider. God bless you.
As always, my pleasure.

Accedi per commentare.

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by