master > master: notebook - wk10
fügte Kommentare hinzu
This commit is contained in:
parent
6d496dd103
commit
a83bd80994
@ -1,5 +1,16 @@
|
|||||||
{
|
{
|
||||||
"cells": [
|
"cells": [
|
||||||
|
{
|
||||||
|
"attachments": {},
|
||||||
|
"cell_type": "markdown",
|
||||||
|
"metadata": {},
|
||||||
|
"source": [
|
||||||
|
"# Woche 10 #\n",
|
||||||
|
"\n",
|
||||||
|
"Diese Wochen beschäftigen wir uns mit Matrizen und Vektoren.\n",
|
||||||
|
"In diesem Notebook rechnen wir ein paar (Teil)aufgaben aus dem ÜB."
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"cell_type": "code",
|
"cell_type": "code",
|
||||||
"execution_count": null,
|
"execution_count": null,
|
||||||
@ -174,7 +185,14 @@
|
|||||||
"\n",
|
"\n",
|
||||||
"# Eingabe des Vektors:\n",
|
"# Eingabe des Vektors:\n",
|
||||||
"F_mal_u = np.asarray([100, -3, 0, -3]); # = F_n @ u\n",
|
"F_mal_u = np.asarray([100, -3, 0, -3]); # = F_n @ u\n",
|
||||||
|
"\n",
|
||||||
|
"'''\n",
|
||||||
|
"NOTE: Folgende Koeffizienten wurden falsch erraten.\n",
|
||||||
|
"TODO: Wie lauten die richtigen Werte? -> Aufgabe!\n",
|
||||||
|
"'''\n",
|
||||||
"c = [10,10,40,50];\n",
|
"c = [10,10,40,50];\n",
|
||||||
|
"\n",
|
||||||
|
"# Aufschreibung des Signals »bzgl. der harmonischen Basis«:\n",
|
||||||
"# u = c[0]u_n[0] + c[1]u_n[1] + c[2]u_n[2] + c[3]u_n[3]\n",
|
"# u = c[0]u_n[0] + c[1]u_n[1] + c[2]u_n[2] + c[3]u_n[3]\n",
|
||||||
"u_guess = sum([ c[k] * u_n[k] for k in range(n) ]);\n",
|
"u_guess = sum([ c[k] * u_n[k] for k in range(n) ]);\n",
|
||||||
"\n",
|
"\n",
|
||||||
|
Loading…
Reference in New Issue
Block a user