|
iCub-main
|
Go to the source code of this file.
Functions | |
| figure (1) hold on grid on plot(time | |
| fprintf (fileID,'%6.3f %6.3f\n', A) | |
| fprintf (fileID,'%6.3f\n', A) | |
| fclose (fileID) | |
Variables | |
| sampling_period = 20 | |
| ms | frequency = 1 |
| hertz | amplitude = 10 |
| degrees | offset = 0 |
| degrees | time = [0: 0.020: 10] |
| out = amplitude*sin(time*2*pi*frequency)+offset | |
| out | fileID = fopen('trajectory.txt','w') |
| A = [time | |
| fclose | ( | fileID | ) |
| figure | ( | 1 | ) |