About 160,000 results
Open links in new tab
  1. arrays - How do i define a structure in Matlab - Stack Overflow

    Jul 8, 2013 · Unlike C, Matlab allows you to add or remove members from a struct as you go. It's more of a convention that a struct with certain fields can be used with certain functions. So …

  2. Matlab - Stack Data Structure - Stack Overflow

    Nov 12, 2010 · I do not think MATLAB has one even in the newer versions. But you can use Java, it is a "first class citizen" in MATLAB, it would work perfectly with integers as you need it. See …

  3. data structures - Is there a "queue" in MATLAB? - Stack Overflow

    Nov 10, 2010 · I cannot find any queue like structure in MATLAB though. I can use vector to simulate queue where adding 3 to queue is like: a = [a 3] and removing element is. val = a(1); …

  4. Complex matlab-like data structure in python (numpy/scipy)

    Dec 22, 2014 · I have data currently structured as following in Matlab. item{i}.attribute1(2,j) Where item is a cell from i = 1 .. n each containing the data structure of multiple attributes each a …

  5. data structures - Matlab: list of trees - Stack Overflow

    Jun 4, 2013 · I have implemented a binary tree in Matlab using 'struct' type elements as nodes. An N-node tree has, say, N such structs. My problem is that I have M such trees, each having …

  6. matlab - Accessing data in structures without loops - Stack Overflow

    May 7, 2025 · I have a set of strings vals, for example:. vals = {'AD', 'BC'} I also have a struct info, inside of which are structs nested in fields corresponding to the elements in the array vals (that …

  7. Serialise MATLAB data structures of different types to send to …

    Oct 22, 2019 · Write a schema that defines your data structures. Compile that to both Java and Python source code. This source code will define classes representing your data structure, …

  8. data structures - Matlab: Randomly select from "slowly varying" …

    I would like to find or implement a Matlab data structure that allows me to efficiently do the following three things: Retrieve an element uniformly at random. Add a new element. Delete …

  9. How to preserve matlab struct when accessing in python?

    In case of nested structures saved in *.mat files, is necessary to check if the items in the dictionary that io.loadmat outputs are Matlab structures. For example if in Matlab >> thisStruct …

  10. data structures - When to use a cell, matrix, or table in Matlab ...

    the tabular data has a uniform type (all are floating points like double, or integers like int32); & either the amount of data is small, or is big and has static (predefined) size; & you care about …

Refresh