Download matlab/d2.m from Beifengdo/MATLAB-Programming: direct link, hf CLI and curl.
- Browser
- Download file 65 Bytes
-
https://huggingface.co/datasets/Beifengdo/MATLAB-Programming/resolve/main/matlab/d2.m
- Command line
-
hf download hf://datasets/Beifengdo/MATLAB-Programming/matlab/d2.m
-
curl -L -o d2.m https://huggingface.co/datasets/Beifengdo/MATLAB-Programming/resolve/main/matlab/d2.m
65 Bytes
| function Y=myfun(x) | |
| Y(:,1)=200*sin(x(:))./x(:); | |
| Y(:,2)=x(:).^2; |