Vector with a repeated entry - MATLAB Cody - MATLAB Central

Problem 42933. Vector with a repeated entry

Difficulty:Rate
Create a row vector of length n, filled with 4's. For example, if n = 3,
output = [4 4 4]

Solution Stats

57.22% Correct | 42.78% Incorrect
Last Solution submitted on Dec 30, 2024

Problem Comments

Solution Comments

Show comments

Problem Recent Solvers105

Suggested Problems

More from this Author11

Problem Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Go to top of page