Hi everyone. I have two simple questions, answer to which I cannot find by
myself.
1. Is there any way to add an element to array? For example, I have
Array{...}(n,m) or Vector{...}(n). And I'd like to expand it, i.e. I want
to have now Array{n+1,m} or Vector{...}(n+1). How can I do this?
2. Imagine I have an array [1 2 3 4 5 6 7 8 9 10; 12 4 5 0 2 0 45 8 0 7].
Is there any easy way to remove all columns with 0 in second line?
Something like filter!(...)?
Sorry for my bad English. Thank you in advance.