Filter löschen
Filter löschen

I'm certain that this question is quite simple, but I have no idea of how to do it. Could someone help me?

1 Ansicht (letzte 30 Tage)
The question is:
Generate a vector of data representing a set of time values (in seconds). Create 5 seconds worth of time data at a spacing of 0.001 seconds (1ms) t=0:0.001:5;
I am unsure if I'm supposed to get a graphical vector or just values.
  5 Kommentare

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Ameer Hamza
Ameer Hamza am 21 Mai 2018
You can visualize it using a plot()
t = 0:0.001:5;
y = sin(2*pi*8*t);
plot(t, y);

Weitere Antworten (0)

Produkte


Version

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by