Have no Idea how to start this Question (Matlab) noob :(

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • arkanX
    New Member
    • Aug 2013
    • 2

    Have no Idea how to start this Question (Matlab) noob :(

    Can someone please help me with this question. I'm unsure as how to get the function to error when N<2... i really need help!!!
    Attached Files
  • arkanX
    New Member
    • Aug 2013
    • 2

    #2
    Your function should inspect that N is greater than 2; otherwise, it should issue an error message (by calling Matlab's built-in error function). You can use the factorial function to compute the factorial.

    TAYLORS FUNCTION (EXP)

    Save your function to the file called myexp.m.

    Comment

    Working...