Community Profile

photo

Matt Reiser


NJIT

Active since 2015

Student

Statistics

Content Feed

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 ...

6 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...

7 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')...

7 years ago | 1 answer | 0

1

answer