help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Set theory in Octave?


From: Nicholas Jankowski
Subject: Re: Set theory in Octave?
Date: Sun, 29 Nov 2015 09:04:49 -0500


On Nov 29, 2015 4:33 AM, "Jonathan Camilleri" <address@hidden> wrote:
>
> I would like to know how to:
> a) calculate union, intersection and computations on sets which can be linked to likelihood, preferably a machine learning algorithm
> b) gather some intelligence on the following cells at least
>
>                                                                                                             
>    Attr Name        Size                     Bytes  Class
>    ==== ====        ====                     =====  =====
>         ans         1x3                         15  cell
>         t1          1x3                         15  cell
>         t2          1x2                         10  cell
>         t3          1x3                         17  cell
>         t4          1x5                         28  cell
>         t5          1x3                         18  cell
>         t6          1x3                         18  cell
>         t7          1x1                          4  cell
>
> References
> 1. Web Data Mining (Google Books)
>
> I found this article - https://www.gnu.org/software/octave/doc/interpreter/Sets.html.
>
>
> --
> Jonathan Camilleri

Since you linked to the help document about sets I assume you found the basic functions for union, intersection, etc. Since cells can contain a variety of different things, I'm not sure how to provide you any more information about the list of cells you put in your email. Also, I am fairly certain that does basic set functions do not operate on cells, only two dimensional arrays. You may be able to use cellfun with those functions to do what you want, but I'm not certain it will work.

Maybe if you provide a better idea of what type of data you're working with, and what mathematical functions you really want to perform on them, we can provide some better feedback.

Nick


reply via email to

[Prev in Thread] Current Thread [Next in Thread]