-
6 Comments
Show
3 older comments
Craig
on 13 May 2012
What happened to "and return the resulting matrix in output B"?
Dirk Engel
on 22 Jun 2012
Strange: A(:,n) = [] has size 15 but is basically the same?
Andrew
on 16 Jul 2012
How safe is this to do?
Mechatrobrnotronik
on 2 Mar 2013
function ans = column_removal(A,n)
A(:, n) = ''
end
Why doesn't this code work? :/
Florian M. Faessler
on 27 Oct 2013
@Mechatrobrnotronik: I tested your code.
function ans = test_fkt(A,n)
A(:,n) = ''
end
Works for me. Returning A with removed column n.
Nonetheless I am interested in what '' actually does. I couldn't find it in the command reference.
Kristin Foster
on 3 Dec 2017
fun
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!