Download matlab/d5.m from Beifengdo/MATLAB-Programming: direct link, hf CLI and curl.
- Browser
- Download file 71 Bytes
-
https://huggingface.co/datasets/Beifengdo/MATLAB-Programming/resolve/main/matlab/d5.m
- Command line
-
hf download hf://datasets/Beifengdo/MATLAB-Programming/matlab/d5.m
-
curl -L -o d5.m https://huggingface.co/datasets/Beifengdo/MATLAB-Programming/resolve/main/matlab/d5.m
71 Bytes
| x=[-2:0.02:2]; | |
| y=1.1*sign(x).*(abs(x)>1.1)+x*(abs(x)<=1.1); | |
| plot(x,y) |