mirror of
https://gitlab.com/MisterBiggs/julia-for-matlabbers.git
synced 2025-06-16 07:06:48 +00:00
intro cleaned up
This commit is contained in:
parent
8452e60afb
commit
c02c318249
File diff suppressed because one or more lines are too long
@ -21,7 +21,7 @@ begin
|
||||
using PlutoUI
|
||||
# Pkg.add("Plots")
|
||||
using Plots
|
||||
Pkg.add("LaTeXStrings")
|
||||
# Pkg.add("LaTeXStrings")
|
||||
using LaTeXStrings
|
||||
end
|
||||
|
||||
@ -35,6 +35,9 @@ Julia is an incredily performant _(2 order of magnitude faster than Matlab)_, Dy
|
||||
The code in this notebook is running in something called Pluto.jl. Pluto notebooks are similar to Matlab Livescript but have a stricter focus on cells and are immutable meaning that a variable can only be declared once and cannot be changed in other cells. This feels very restricting at first but guarantees that the code you are currently looking at is correct, and allows reactive updating of dependant code. It's important to note that these are Pluto.jl features and not Julia features.
|
||||
"""
|
||||
|
||||
# ╔═╡ 307cbf7a-1ac5-47a5-8031-3458f9dd1887
|
||||
PlutoUI.TableOfContents(aside=true)
|
||||
|
||||
# ╔═╡ 11ed58ac-1289-4b64-88a8-17cb7f0b6cd2
|
||||
md"""
|
||||
## Intro - Things Matlab Does Really Weirdly that no one Else Does
|
||||
@ -60,6 +63,12 @@ md"""
|
||||
Dragging the bar below automatically updates the plot thanks to Plutos reactivity.
|
||||
"""
|
||||
|
||||
# ╔═╡ 16a7201a-4ce0-4102-9874-96733514ef08
|
||||
md"""
|
||||
!!! warning
|
||||
This page is just HTML and doesn't have a Julia Backend to allow interactivity. The button in the top right corner has instructions on how to run this notebook yourself.
|
||||
"""
|
||||
|
||||
# ╔═╡ a6ea55b5-3d1e-4f3c-8b5b-bb6138b6b316
|
||||
@bind x Slider(1:5, show_value=true)
|
||||
|
||||
@ -258,11 +267,13 @@ f(1, 2, 3)
|
||||
|
||||
# ╔═╡ Cell order:
|
||||
# ╟─bb461e00-c0aa-11eb-2c7d-1bd1591779c6
|
||||
# ╟─307cbf7a-1ac5-47a5-8031-3458f9dd1887
|
||||
# ╟─11ed58ac-1289-4b64-88a8-17cb7f0b6cd2
|
||||
# ╠═7d7820ff-c0f5-41ee-be29-5006e7f4361d
|
||||
# ╟─d15dbf3e-45a8-454f-83eb-e9ad5eac5d24
|
||||
# ╟─16a7201a-4ce0-4102-9874-96733514ef08
|
||||
# ╟─a6ea55b5-3d1e-4f3c-8b5b-bb6138b6b316
|
||||
# ╠═863587ab-5ead-4ad0-839f-09e798bc6c93
|
||||
# ╟─863587ab-5ead-4ad0-839f-09e798bc6c93
|
||||
# ╟─3cad3f5f-f6a5-405b-aeb0-495ebd8cca45
|
||||
# ╠═0a4dc275-04b3-43e3-8a0d-cb921d769a0a
|
||||
# ╠═193c6a29-4f53-4c96-acc7-b5359043b471
|
||||
|
Loading…
x
Reference in New Issue
Block a user