A collection of custom function examples
Versión 1.0.0 (3,73 KB) por
Lazaros Moysis
A collection of different introductory functions for teaching
This submission includes a collection of 11 functions, for introductory and advanced use:
bit2gb: Convert bits to gigabytes
celsius2fahrenheit: Convert Celcius to Fahrenheit
dmatrix: Transform matrix into a diagonal matrix
fibonacci: Compute the n terms of the Fibonacci sequence
gb2bit: Convert gigabytes to bits
greet: Print a greet message
guessnumber: Guessing game
isprime: Check if a number is prime
matdata: Compute minimum, maximum, and summation of the values of matrix A
myplot: Create a custom plot
systeminformation: Print information about a system in tf, zpk, or ss form
See the following video about creating functions:
Lazaros Moysis
Citar como
Lazaros Moysis (2025). A collection of custom function examples (https://www.mathworks.com/matlabcentral/fileexchange/181192-a-collection-of-custom-function-examples), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Se creó con
R2025a
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS LinuxEtiquetas
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
Versión | Publicado | Notas de la versión | |
---|---|---|---|
1.0.0 |