A collection of custom function examples

版本 1.0.0 (3.7 KB) 作者: Lazaros Moysis
A collection of different introductory functions for teaching
4.0 次下载
更新时间 2025/5/27

查看许可证

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

引用格式

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. 检索时间: .

MATLAB 版本兼容性
创建方式 R2025a
兼容任何版本
平台兼容性
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.0.0