You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
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
Cite As
Lazaros Moysis (2026). A collection of custom function examples (https://in.mathworks.com/matlabcentral/fileexchange/181192-a-collection-of-custom-function-examples), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.0.1 (3.73 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
