removing zeros from column

2 次查看(过去 30 天)
A=[1;2;2;0;0;3;0;0];
%I need to remove all "0" in A matrix then I need to create a matrix without "0" like; [1;2;2;3]

采纳的回答

Al Dente
Al Dente 2015-8-4

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Multidimensional Arrays 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by