Kindly I want know how to use function called ‘carre’, to calculate a square periodic function?

to calculate a square periodic function?

댓글 수: 1

There is not such function, you were supposed to write a function that will do the task your professor told you to and name it 'carre'. Also, do not spam with your duplicate questions please.

댓글을 달려면 로그인하십시오.

답변 (1개)

% here you call your function
answer = carre(yourInputs) % you insert your inputs, whichever and how many they are.
% in the end of your script, you write your function carre
% there's no such function native in MATLAB as Mario said.
function outPut = carre(yourInputs)
% write your calculation here
outPut = YourResult;
end

카테고리

도움말 센터File Exchange에서 Get Started with MATLAB에 대해 자세히 알아보기

질문:

2020년 10월 25일

답변:

2020년 10월 25일

Community Treasure Hunt

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

Start Hunting!

Translated by