how to add a number in a variable in a multiple?
Show older comments
i want to generate a data from zero to 180 degree for that i write
A = 0:45:180;
so i will get
A = 0 45 90 135 180
now i want that each number of Variable a should b multiple of value 'B', if B = 3 then answer should look like
A= 0 0 0 45 45 45 90 90 90 180 180 180
Accepted Answer
More Answers (0)
Categories
Find more on Big Data Processing 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!