Matrix multiplication with constant
Afficher commentaires plus anciens
RR=5;
RS=750:150:3600;
for i=1:length(RS)
k(i)=RR.*RS(i)
end
am i not supposed to get the answer k(i) in the form of matrix ?
Here RS is matrix of size 1*20.
if i want to get k(i) in terms of 1*20 , what shall i do ? Please tell me. Thankyou.
Réponse acceptée
Plus de réponses (1)
madhan ravi
le 22 Juil 2020
k = RR * RS
Catégories
En savoir plus sur Electromagnetics dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!