creating vector from n value
19 views (last 30 days)
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
2 Comments
See Also
Categories
Find more on Mathematics and Optimization 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!