Matrix multiplication with constant
Show older comments
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.
Accepted Answer
More Answers (1)
madhan ravi
on 22 Jul 2020
k = RR * RS
Categories
Find more on Electromagnetics 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!