Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Summary

SAMENVATTING ModSim |Basisconcepten Julia

Rating
-
Sold
-
Pages
10
Uploaded on
14-04-2026
Written in
2025/2026

SAMENVATTING Julia basisconcepten. Legt de synthax en het gebruik van Julia uit en de basis om aan de slag te gaan met de Julia programmeertaal in Pluto. Als uitbreiding op de curus en practicum samenvatting van ModSim, gegeven door Prof. Ir. Michiel Stock in de 3de Bachelor Bio-Ingenieurswetencahppen aan de UGent. Practicum en cursus zijn ook beschikbaar op mijn profiel of alle drie samen in bundel. Stuur gerust een bericht indien je vragen hebt.

Show more Read less
Institution
Course

Content preview

Modelleren en Simuleren Biosystemen|BASISCONCEPTEN
Gegeven door Prof. Michiel Stock



-------------------- Algemene info Julia ------------------------

Opstarten Pluto

1. Check workingdirectory via pwd()
2. cd(raw".\OneDrive - UGent\Universiteit\3de bachelor\Semester 2\Modelleren en
simuleren van modelsystemen\ModSim practica")
3. using Pluto; Pluto.run()



Package mode openen pkg> ] #package openen pkg> add Plots
Prompt modus openen julia> backspace #package gebruiken julia> using Plots



Basic Julia syntax

▪ Operators
o Basis +,-,*,/,%
o Macht ^2
o Vierkanswortel ^0.5

▪ Variabelen toekennen
o Var = a
o julia> Var → print a
o Variabele naam kan met underscores maar mag niet met nummers starten

▪ Data types
o Checken via typeof(Var)




o Omzetten data types
▪ Integer → Flo Float64(x) 6 → 6.0
▪ Float → Int Int64(x) 6.0 → 6 (niet 6.4!)
▪ Int/Flo → String string(x) 6.3 → “6.3”
o String = geordende serie van karakters

, ▪ Arrays en indexering
o mijn_lijst = [10,20,”team”]
o mijn_lijst[1] → 10 !index begint dus bij 1 in julia  python



▪ Dubbele dubbelpunt :: (type asserties)
o Dwingt af welk type een variabele moet zijn
o Bv functie (x::Int64) → functie aanvaard alleen gehele getallen



▪ Symbolen toevoegen
o Dubbel punt gebruiken : voor een woord (zoals :S of :I)



▪ Underscore _
o In Julia (en dus Pluto) mag je een underscore _ in getallen gebruiken om
ze leesbaarder te maken bv 1_000_000 (miljoen) = 1000000



▪ Komma
o In Julia wordt punt . gebruikt als komma, terwijl een ‘,’ gebruikt wordt
om stukken te scheiden



▪ Pair operator =>
o => creëert een pair, koppelt sleutel (links) aan een waarde (rechts)
o Bv :S => 9_000 (sleutel :S (symbool S) krijgt de waarde 9000)




Werking Pluto

▪ Pluto heeft geen ingebouwde terminal zoals in VS code
▪ Bibliotheken niet nodig → ingebouwde packet oproepen via using packet
▪ Bewerking op variabele → nieuwe variabele aan toekennen x = 10 | y = x + 5
▪ Logica ‘cellen’
o Elke ‘cel’ = onafhankelijk blokje code maar allemaal samen netwerk
o Variabelen worden doorgepakt naar andere cellen (bv x = 10 in cel 2)
o Cel 1: moeilijke berekening, cel 2: grafiek tekenen hiervan
→ aanpassing in visualisatie hoef je alleen cel 2 aan te passen en de
grafiek up te daten ipv alles opnieuw te laten berekenen

Written for

Institution
Study
Course

Document information

Uploaded on
April 14, 2026
Number of pages
10
Written in
2025/2026
Type
SUMMARY

Subjects

$4.70
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF


Also available in package deal

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
BioEngineer Universiteit Gent
Follow You need to be logged in order to follow users or courses
Sold
104
Member since
3 year
Number of followers
7
Documents
90
Last sold
3 weeks ago
Bio Engineer Stach

Uitgebreide samenvattingen die telkens alles vanuit de powerpoint + extra in de les gezegd, bevatten. Daarbij probeer ik dit altijd op een overzichtelijke en mooie manier voor te stellen, want niemand heeft gezegd dat studeren saai moet zijn. Indien vragen, stuur gerust een bericht. Ik doe zelf ook nog bio-ingenieur en heb met deze samenvattingen altijd moeiteloos kunnen slagen.

4.0

4 reviews

5
1
4
2
3
1
2
0
1
0

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions