Skip to content

sm2302-aug23/grp-matlab-tan-gerine

Repository files navigation

Spline Your Name

1. Graph paper transcription

We don't have the graph paper but here is a rough view of what the points would have looked like.

Screenshot 2023-11-07 104424

rough view of the letters and names that we decided on.

PXL_20231107_024909489

PXL_20231107_024906063

PXL_20231107_024859651


2.Digital reconstruction

The code can be found in this repository, this is just a brief overview.

Functions used

function nameplot(x, y, xx, yy)

figure(1)
plot(xx, yy, 'k', 'LineWidth', 1.5)
hold on
plot(x, y, 'bo', 'MarkerFaceColor','b')

% Creating parametric t coordinates
function [t, tt] = tpar(x)

n = length(x);
t = 0:n-1; % Parametric coordinates
tt = 0:0.01:n-1; % tt for spline interpolation
end

Now to plot the names in matlab and the result are:

it looks stretched due to the graphs being on top of each other, it looks better if you run it one by one Screenshot 2023-11-07 102027


3. Word combination & function scripting

The function plotWord.m works but we didn't manage to finish creating the data for it.

As of now only these letters work:

|A B C D H I L M N Q|

(what the letters look like so far) Screenshot 2023-11-07 134328


Review Assignment Due Date

Group Assignment (MATLAB)

This repository contains instructions for SM-2302 MATLAB group assignment.

The assignment is due on Tuesday, 7 November 2023 at 12:00 PM.

Understand the sample code given in the Group2-2023.pdf document, and read the instructions carefully.

Read notes.md for some advice on good MATLAB programming style and marking scheme.

About

grp-matlab-tan-gerine created by GitHub Classroom

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages