photo

Matt Reiser


Active since 2015

Followers: 0   Following: 0

Message

Student

Statistics

Feeds

View by

Question


I do not know why I am getting an error, i am trying to hand in this project but i will get a zero if the code can not be read. Please help me.
Getting an error Error: Function definitions are not permitted in this context. % P2 CS101-104 1234 % first LAST ...

9 years ago | 2 answers | 0

2

answers

Question


1st graph plots fine, 2nd graph is an error.
x = linspace(-30,30,30001); y = ((sin(x)) ./ (x)); plot(x,y,'-'); axis([-30 30 -.25 1]) xlabel('x') ylabel('y') title('Rei...

10 years ago | 2 answers | 0

2

answers

Question


I have a Problem.
x = linspace(-30,30,30001); y = ((sin(x)) ./ (x)); plot(x,y,'-'); axis([-30 30 -.25 1]) xlabel('x') ylabel('y')...

10 years ago | 1 answer | 0

1

answer