creating vector from n value
Show older comments
Hi everyone, how can I created 5 diffrent vectors based on:
n = [2 4 8 16 32]
if n = 2, N = [1/2 1/2]
if n=4, N = [1/4 1/4 1/4 1/4]
so on with 8 16 and 32
Please help me
Answers (2)
Categories
Find more on MATLAB 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!