help-octave
[Top][All Lists]
Advanced

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

Sets: predicate notation in Octave


From: Hugh Mayfield
Subject: Sets: predicate notation in Octave
Date: Tue, 23 Dec 2014 21:11:19 +0000

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi there,

I mentioned this in the IRC channel but the girls / guys there didn't
know, so asking again here.  Have had a look at the manual and FAQ.

I have Maths coursework to do over the holidays.  One of the questions
involves working with sets: working out intersections and
subtractions.  The difficult bit is working out how to tell Octave
what the various subsets contain, without spelling it out value by
value (don't think lecturer would be impressed with that).  One of the
subsets is something like (in mathematical notation, which I don't
think I can reproduce in a plain text email):

        (x: x > 0, x <= 30, x is a member of set N)

where "N" is the symbol representing the natural numbers.

If someone could help me out with how to code this in Octave, would be
really grateful.  I'm trying to make a stand on campus against
proprietary software, and we are required to use online solvers or
mathematical software to evidence our work, so really hoping to use
Octave.

Regards,

Hugh

- -- 
Hugh Mayfield
mayfield.motd.org
Public key 7819F5A7 - please use encryption and digital signing
emailselfdefense.fsf.org - prism-break.org - fsf.org - gnu.org
Please try not to email me from platforms like Google or Microsoft
Please don't upload photos of me to Facebook
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJUmdp3AAoJEE5eVyd4GfWnsd4QAK9WQTIZsMPOyn2ouxjArCbb
fzKzXlm/JBQJco8vo6+o9auYnpKG78sIpLPMuLtTICkRsFC13Y/0iwJdeKJtZ1SR
A8FMSwpxvoTMXMICxOHcIRWKhCw1dwHLJWOXDSAVz7nVwLSM6UHRW34U2YfzTmYK
czru3aFq+oUqf9zVH2zPC4gAlkwIfDZzB2aTE0pW2G77LT7Cw1BNmPsqmm20Te+v
WPNgUjzgyfVnWbs4Ah32NfJKY77CR/lo2rb9Lt96Vck4ez3SzbKrBdaRxaVuk2ht
XHH4u2pLnGJJjYNF3/nLR1LEYnCLiY2JioqD1O96G/u2Dv33S3S/DAfftlv7cyv7
OV05VnUskJgIJCxmVb0LJvSJ5lHupVSRPSkFgaSiuIuuQP+fQUDylQ2cOGFRi4Ld
FOAtkFvFAx9obfxPmPGSrgusAsYuSifx8ScMBw1TObDfTEYF4bT1ZQi78p1dBb6B
uDmVdhYEMh+tfreOcUdNIG+ce1laRhMBSUl6qvWC3wf5gWdz669UjXrqb9RrHuIx
9VGy/AokOgIZYyv/xTnIzOrJ6xiipFRKL3flq98qzyhoS5jIzprJTyIfdQrwareY
3IEeBp2pl3P7eyqdCe3FE8y9Scg1i0BXDOkVnqWHXwS/LLh2rPzn8I8zN/hBwCI2
lrLNxaKpgBXHRz9uvlN7
=pzEr
-----END PGP SIGNATURE-----



reply via email to

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