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
AI Is Transforming Engineering Workflows
It’s an honor to deliver the keynote at MATLAB EXPO 2025. I'll...
0
MATLAB EXPO 2025 Registration is Now Open! November 12 – 13, 2025
Registration is now open for MathWorks annual virtual event MATLAB EXPO 2025...
0

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!