ベクトルを補間したい
    8 views (last 30 days)
  
       Show older comments
    
例えば、
 X=[3  5 1]
を、次のように3倍に増やしたい
 Y=[3 3 3 5 5 5 1 1 1]
これを、任意のXについて、任意の倍率で行う演算を、素早く実施したく、教えて下さい。
for文を多用すれば、できることは、わかっています。
Answers (3)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!