CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In

Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place. Commercial Alternative to JupyterHub.

| Download

This is a test notebook to see how sharing capability works.

Project: Julia test
Views: 11
Visibility: Unlisted (only visible to those who know the link)
Image: ubuntu2204
1
### A Pluto.jl notebook ###
2
# v0.19.36
3
4
using Markdown
5
using InteractiveUtils
6
7
# ╔═╡ c1d28d45-f10e-4854-8492-3063116990a3
8
begin
9
using Pkg
10
Pkg.activate("makie", shared=true)
11
Pkg.status()
12
end
13
14
# ╔═╡ f2cae2e7-7c9c-490c-af02-99a7d9dea942
15
begin
16
using FFTW, Plots
17
x = LinRange(0, 2π, 361)[1:end-1]
18
y = sin.(x) + 5cos.(50x)
19
= fftshift(fft(y))
20
end
21
22
# ╔═╡ 8a27753f-1bfa-45f1-863d-4fa4bb513a58
23
begin
24
plot(real.(), line=:stem, label = "real")
25
plot!(imag.(), line=:stem, label = "imag")
26
end
27
28
# ╔═╡ 97628518-9b3f-49a5-a232-78f0cb146bd9
29
versioninfo()
30
31
# ╔═╡ 70e86a5b-a6a8-4b10-9d7a-56f6544a9e09
32
begin
33
readdir("/ext/julia/depot/packages")
34
end
35
36
# ╔═╡ edbba1f8-72bc-40ed-b7dc-358f8dbef1dd
37
38
39
# ╔═╡ Cell order:
40
# ╠═c1d28d45-f10e-4854-8492-3063116990a3
41
# ╠═f2cae2e7-7c9c-490c-af02-99a7d9dea942
42
# ╠═8a27753f-1bfa-45f1-863d-4fa4bb513a58
43
# ╠═97628518-9b3f-49a5-a232-78f0cb146bd9
44
# ╠═70e86a5b-a6a8-4b10-9d7a-56f6544a9e09
45
# ╠═edbba1f8-72bc-40ed-b7dc-358f8dbef1dd
46
47