cell-array
How to read multiple files into a single cell array?
I have a large dataset split into 5 files (each has 15000 attributes, first file contains header (attribute names) and 9999 records, and the other 4 contain 10000 records).[详细]
2023-01-10 22:39 分类:问答How do I detect empty cells in a cell array?
How do I detect empty cells in a cell array? I know the command to remove the empty cell is a(1) = [], but I can\'t seem to get MATLAB to automatically detect which cells are empty.[详细]
2023-01-10 06:27 分类:问答MATLAB: comparison of cell arrays of string
I have two cell arrays of strings, and I want to check if they contain the same strings (they do not have to be in the same order, nor do we know if they are of the same lengths).[详细]
2023-01-06 17:34 分类:问答How can I create/process variables in a loop in MATLAB?
I need to calculate the mean, standard deviation, and other values for a number of variables and I was wondering how to use a loop to my advantage. I have 5 electrodes of data. So to calculate the mea[详细]
2023-01-05 16:10 分类:问答How can I access nested cell arrays in MATLAB?
I would like to make a nested cell array as follows: tag = {\'slot1\'} info = {\' name\' \'number\' \'IDnum\'}[详细]
2023-01-04 17:50 分类:问答Creating nested cell arrays in Matlab?
I have two cell arrays one calledinfo{}and the other is calleddata{} I am reading information in from a text file and am putting the lines into the info{} cell array. When the program finds a blank li[详细]
2023-01-04 05:22 分类:问答MATLAB: image corner coordinates & referncing to cell arrays
I am having some problems comparing the elements in different cell arrays. The context of this problem is that I am using the bwboundaries function in MATLAB to trace the outline of an image. The im[详细]
2022-12-23 09:42 分类:问答How do I assign an empty matrix to elements of a cell array in MATLAB?
I want to manipulate a cell array and make certain indices of the cell array contain the empty matrix []. I can\'t seem to figure out how to do this:[详细]
2022-12-14 12:28 分类:问答MPEG-1 compression - producing macroblocks
I\'m stuck with a basic problem in my MPEG-1 compression. I have to produce macroblocks within a image. A macroblock consists of 16 x 16 pixels - where 4 x 8x8 is luminance, 1 x 8x8 is Cb and 1 x 8x8[详细]
2022-12-13 18:56 分类:问答