enerate a random integer n, create a vector of the integers 1 through n in steps of 2, square them, and plot the squares.

1 view (last 30 days)
How do I generate a random integer n, create a vector of the integers 1 through n in steps of 2, square them, and plot the squares?

Answers (0)

Categories

Find more on Creating and Concatenating Matrices 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!