plotting a graph for an polinomial with exp(x)

clc
clear all
x=-pi:.1:pi;
y=exp(x)+x^2;
plot(x,y)
when I write that (y) equation; matlab says "Inputs must be a scalar and a square matrix."
How can I plot that equ. please help me. thanks for your interest..

回答(1 个)

类别

在 帮助中心 和 File Exchange 中查找有关 Graph and Network Algorithms 的更多信息

提问:

2013-11-1

评论:

2013-11-1

Community Treasure Hunt

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

Start Hunting!

Translated by