MATLAB Answers

How to initialize a row vector with value zero of size 1xn?

1.080 views (last 30 days)
Say, I have a row vector A having n elements. I want to make all elements zero.
  • For e.g., in 2-d, we write A=zeros(n)

Accepted Answer

More Answers (0)

Tags

Products

Community Treasure Hunt

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

Start Hunting!

Translated by