How to write Functions?

I am currently on a matlab course on coursera and have been given some assignments and I totally have no idea on how to go about it been new to matlab. Will really appreciate any form of help to work around these assignments, thanks. Have attached the file containing the assignments and please I will really appreciate if the steps taken are properly explained as I would like to also do them myself.

2 comentarios

Joseph Cheng
Joseph Cheng el 5 de Mayo de 2015
no files attached and please refer to here and here for how to ask homework questions. Also please insert anything that you've attempted or specific errors or questions.
John D'Errico
John D'Errico el 5 de Mayo de 2015
This is not really a question, but a plea for help, so not on topic here. Your question is so broad that for us to tell you how to write functions would be to write a book, OR a complete tutorial. And that is exactly what the MathWorks provides for you. So start reading!
You won't learn without making (many) mistakes. That is what homework is for anyway. If we just give you the solutions to all of your assignments, then you really won't learn.
So sit down, and get your hands dirty. Ok, at least your fingertips. Play with MATLAB. Try things out at the command line, then put the code together into a function.

Respuestas (1)

Walter Roberson
Walter Roberson el 6 de Mayo de 2015

0 votos

1 comentario

Stephen23
Stephen23 el 6 de Mayo de 2015
Some excellent tutorials from MATLAB:
And if you have your own license then you get a free course too!:
https://matlabacademy.mathworks.com/R2015a/

La pregunta está cerrada.

Etiquetas

Preguntada:

el 4 de Mayo de 2015

Cerrada:

el 20 de Sept. de 2015

Community Treasure Hunt

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

Start Hunting!

Translated by