Skip to content

Instantly share code, notes, and snippets.

@johnnyferreiradev
Created March 28, 2019 00:24
Show Gist options
  • Save johnnyferreiradev/6ef3223595ee66880a8000dfbd1f6902 to your computer and use it in GitHub Desktop.
Save johnnyferreiradev/6ef3223595ee66880a8000dfbd1f6902 to your computer and use it in GitHub Desktop.
Função seno da frequencia x tempo
clear all
clc
f = 10; % Frequencia
w = 2*pi*f; % Frequencia angular
t = 0:0.001:1; % Tempo
y = sin(w*t) % Funcao
plot(t,y) % Grafico
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment