photo

Matt Reiser


NJIT

Aktiv seit 2015

Followers: 0   Following: 0

Nachricht

Student

Statistik

Feeds

Anzeigen nach

Frage


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

etwa 9 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

mehr als 9 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

mehr als 9 Jahre vor | 1 Antwort | 0

1

Antwort