function [ y ] = mycubic ( x )
y = x^3 + 2x^2 - 5x - 8
[FONT=Arial][SIZE=4][COLOR=#0000ff][FONT=Arial][SIZE=4][COLOR=#0000ff][FONT=Arial][SIZE=4][COLOR=#0000ff]end
عند تشغيل الكود تظهر رساله الخطا التاليه
Undefined function or method ‘mycubic’ for input arguments of
type ‘double’.
[/color][/size][/font][/color][/size][/font][/color][/size][/font]