-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmatlab.html
More file actions
139 lines (112 loc) · 3.24 KB
/
Copy pathmatlab.html
File metadata and controls
139 lines (112 loc) · 3.24 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
<!DOCTYPE html>
<html>
<!---------------------------------------------------------------------
-- file : matlab.html
-- purpose : Page for website Piet Lammertse
-----------------------------------------------------------------------
-- history :
-- 2025-11-24 new
---------------------------------------------------------------------->
<head>
<link rel="stylesheet" href="plammertse.css">
<title> Various Matlab scripts </title>
</head>
<body>
<!-- NAVIGATION BAR -------------------------------------------------->
<ul>
<li> <a href="index.html"> Home </a> </li>
<li> <a style="background-color:#0000C0;"
href="matlab.html"> Matlab scripts </a> </li>
</ul>
<!-- TEXT PAGE ------------------------------------------------------->
<h2> Matlab scripts </h2>
<h4> origin </h4>
<p> Over the years, I have written a number of useful Matlab scripts.
The tables below list some of them.
</p>
<p> They are loosely arranged by subject.
</p>
<p> These scripts are sometimes referenced
from other pages on this website.
Others are just along for the ride.
</p>
<h4> zero guarantee </h4>
<p> As usual, the sources come here warts and all,
and with zero guarantee.
If they contain functions or "objects" <nobr>
( classes ), </nobr>
they may have test drivers or example code
in a commented section at the end of the file.
</p>
<h4> download or run </h4>
<p> Feel free to browse and copy any selection of these sources
if you find them useful.
If you don't have Matlab, you might want to run them
in Octave Online,
or use an online tool to convert them to Python for you.
</p>
<p> Depending on your system settings, you may open an editor
on them, or download them by left clicking the link,
or by saving them to your disk directly
by right clicking them and selecting <i>"Save link as.."</i>.
</p>
<!-- TABLE OF ANIMATED GIF WRITER -------------------------------------->
<h4 style="margin : 4px 32px; margin-top : 16px">
animated GIF writer
</h4>
<table style="width:700px; margin-left:48px; background:#F8F8F8">
<tr>
<td style="width:160px;">
<a href="matlab/GIF_writer.m"> GIF_writer.m </a>
</td>
<td>
Writing Matlab "gca" axes to animated GIF file, frame by frame
</td>
</tr>
</table>
<!-- TABLE OF GRAPHICS OBJECTS ------------------------------------------>
<a name="graphics"</a>
<h4 style="margin : 4px 32px; margin-top : 16px">
graphics objects
</h4>
<table style="width:700px; margin-left:48px; background:#F8F8F8">
<tr>
<td style="width:160px;">
<a href="matlab/arrow.m"> arrow.m </a>
</td>
<td>
Rotatable and scalable arrow
</td>
</tr>
<tr>
<td>
<a href="matlab/CG_marker.m"> CG_marker.m </a>
</td>
<td>
Scalable CG symbol
</td>
</tr>
<tr>
<td>
<a href="matlab/dumbbell.m"> dumbbell.m </a>
</td>
<td>
Dumbbell shape
</td>
</tr>
<tr>
<td>
<a href="matlab/nicebox.m"> nicebox.m </a>
</td>
<td>
Text box outline and font
</td>
</tr>
</table>
<!-- FOOTER --------------------------------------------------------------->
<p> <br> <br> </p>
<div class="footer">
<p> P. Lammertse, 2025 </p>
</div>
</body>
</html>