Details and formulation of Support Vector Machines (SVM) is provided in this video as well as a MATLAB demo:
Hard-Margin SVM, 2:23
Soft-Margin SVM, 26:53
Kernel Trick, 42:04
MATLAB Demo, 57:28
The code can be downloaded from the following link:
https://drive.google.com/drive/folders/1hfvl9nEmXUr8wH_i38NGlcms6wlUAW65?usp=sharing