Mid Sweden University

miun.sePublications
Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
PYTHON ett alternativ inom matematisk och numerisk analys
Mid Sweden University, Faculty of Science, Technology and Media, Department of Information Systems and Technology.
2020 (Swedish)Independent thesis Basic level (degree of Bachelor), 10 credits / 15 HE creditsStudent thesis
Abstract [sv]

Mittuniversitet har använt sig av programspråket MATLAB för beräkning av matematisk och numerisk analys. På kursen matematisk modellering har det nu planerats att använda Python nästa år eftersom den har ett antal bibliotek som har vad som krävs för att lösa komplexa uppgifter. Syftet med detta projekt är att konvertera laborationer från MATLAB-skript till Python-koder samt rekommendera bibliotek. Laborationerna tas direkt från Matematiska modellering och Ingenjörsvetenskap kurserna i Mittuniversitet. Python blir allt mer populärt eftersom det kan använda samma verktyg som MATLAB för att lösa komplexa matematiska beräkningar för samma uppgift. Jupyter Notebook är det verktyg som man kommer att använda för att koda Python. Det är en öppen källkod som kan användas för att dokumentera texter och skriva Python-kod direkt via en lokal webbsida. Vissa bibliotek från Python kommer att introduceras för att lösa samma uppgift som MATLAB-övningar. Resultatet presenteras sedan som data och grafer utskrivna från Python laborationer som konverterades direkt från MATLAB. Språkkriterierna utvärderas mellan biblioteken samt att programmeringsstil rekommenderades. I stort sett så kan man konstatera att utvalda bibliotek från Python för denna studie var lyckad för att den gav resultaten som var förväntades.

Abstract [en]

Mid Sweden University has been using the program language MATLAB for calculation of mathematical and numerical analysis. In mathematical modeling courses in Mid Sweden University, it is now planned to use Python next year which has several libraries that have what it takes to solve complex tasks.

The aim of this project is to convert labs from MATLAB scripts into Python codes. Labs were taken from the engineering science and mathematical modeling courses in Mid Sweden University. Python is becoming more popular because it can use the same tools as MATLAB to solve complex mathematical calculations for the same task.

Jupyter notebook is the tool that we will use to code Python. It’s an open source code that can be used to document texts and write Python code directly via a local web page.

Some libraries from Python will be introduced in order to solve the same task as MATLAB exercises. The result is presented later as graphs and data which are printed from python labs which was converted from MATLAB. The language criteria are evaluated between the libraries and that a programming style was recommended. In general, it can be stated that selected libraries from Python for this study were successful because it gave the results that was expected.

Place, publisher, year, edition, pages
2020. , p. 44
Keywords [en]
NumPy, SciPy, Python, Pandas, MATLAB, PEP8, Matplotlib
Keywords [sv]
NumPy, SciPy, Python, Pandas, MATLAB, PEP8, Matplotlib
National Category
Software Engineering
Identifiers
URN: urn:nbn:se:miun:diva-39696Local ID: DT-V20-G3-039OAI: oai:DiVA.org:miun-39696DiVA, id: diva2:1462570
Subject / course
Computer Engineering DT1
Educational program
Master of Science in Engineering - Computer Engineering TDTEA 300 higher education credits
Supervisors
Examiners
Available from: 2020-08-31 Created: 2020-08-31 Last updated: 2020-08-31Bibliographically approved

Open Access in DiVA

No full text in DiVA

Search in DiVA

By author/editor
Ahmed, Hussein
By organisation
Department of Information Systems and Technology
Software Engineering

Search outside of DiVA

GoogleGoogle Scholar

urn-nbn

Altmetric score

urn-nbn
Total: 677 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf