Deletion of Matrix Column Using " linalg::delCol " Command
Show older comments
I am trying to delete the second column in the below matrix using the command:
linalg::delCol(network_station_coordinates_dbl,2 )
1 NaN 5125.06200000000 1201.78500000000
2 NaN 5310 1430
3 NaN 5700 1190
4 NaN 5280 1030
but I receive the following error:
_Cell contents reference from a non-cell array object._
_Error in cell2mat (line 43)
cellclass = class(c{1});_
_Error in Program_2014 (line 131)
network_station_coordinates_dbl =
cell2mat(network_station_coordinates_cel)_
Can someone please explain to me why this is and what I require to solve this issue?
Accepted Answer
More Answers (0)
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!