Matlab matrixes and codes

How to Create a vector with elements of ones in 20x20 matrix.

 Accepted Answer

Read the basic documentation instead of asking simple questions.
iwant = ones(20) ;

More Answers (0)

Categories

Find more on Get Started with MATLAB in Help Center and File Exchange

Asked:

on 6 Oct 2020

Answered:

on 6 Oct 2020

Community Treasure Hunt

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

Start Hunting!