How to make a matrix of all zeros be the same size as a data set being used?
31 views (last 30 days)
Show older comments
Timothy Clarke
on 25 Feb 2021
Commented: Timothy Clarke
on 25 Feb 2021
I've been playing around with matlab for the last few hours and can't figure it out. I am using quiver and my x,y are staying the same and my v is staying the same just need to make my 'u' into a matrix of all zeros. I keep getting this error "Error using zeros Size vector should be a row vector with real elements." not sure what I am doing wrong. Thanks in advance for any help provided.
1 Comment
James Tursa
on 25 Feb 2021
Please post the code you are currently using. It is hard for us to guess the errors you are making without seeing your code.
Accepted Answer
More Answers (0)
See Also
Categories
Find more on Logical 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!