How to go about programming this function in MatLab

I am trying to program a function into matlab but I am struggling to get started. I want to program it as a function and not as part of a script so that I may use it later on when I need it.
Basicaly, there will be n number of terms, and x and y are arrays that will change in size depending on how have set them up.

2 Commenti

Stephen23
Stephen23 il 28 Apr 2021
Modificato: Stephen23 il 28 Apr 2021
Original question retrieved from Google Cache:
I am trying to program a function into matlab but I am struggling to get started. I want to program it as a function and not as part of a script so that I may use it later on when I need it.
Basicaly, there will be n number of terms, and x and y are arrays that will change in size depending on how have set them up.
(Answers Dev) Restored edit

Accedi per commentare.

Risposte (2)

Categorie

Scopri di più su Get Started with MATLAB in Centro assistenza e File Exchange

Prodotti

Release

R2020b

Richiesto:

il 20 Apr 2021

Commentato:

il 6 Mag 2021

Community Treasure Hunt

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

Start Hunting!

Translated by