Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MATLAB/zh-cn] suggestions for Function: More content #5019

Open
sulfonic-acid opened this issue Aug 12, 2024 · 0 comments
Open

[MATLAB/zh-cn] suggestions for Function: More content #5019

sulfonic-acid opened this issue Aug 12, 2024 · 0 comments

Comments

@sulfonic-acid
Copy link

I have read these tutorials about MATLAB. Using load as an example may confuse beginners, and I suggest adding explanations about the functions section:

% call function
[y_1,...,y_N]=myfun(x_1,...,x_M)

% defined function
function [y_1,...,y_N] = myfun(x_1,...,x_M)
% The content of the function
% for example:y_1=x_1+1;
end

The function must be located at the end of the file before Matlab R2024a (or separately in a file).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant