giovedì 3 maggio 2012

Love Signal

During the Aerospace class, my best friend Kuti, ask me to make a new blog together. We plan to make a blog about woman engineer's hobbies.

I don't know how, this idea just crossed my mind. I want to play something fun with Matlab. hahaha

Then, I just did Signali dell'amore.

I still can't believe, I did this crazy things. But, this is so fun.



Here, I share the code for you.




%%%%%%%% LOVE SIGNAL  %%%%%%


% created by: Edwina Maryami
% 3 May 2012, 7:36 PM


clc
clear all
close all


theta = -pi:0.01:pi;
for k=1:3
    x=k*theta;
plot(x,abs(sin(x)/2),'m','LineWidth',3),title('LOVE SIGNAL'), grid on
hold on
plot(x,-abs(sawtooth(x/2,0.5)),'m','LineWidth',3)
hold off
end


It's simply using absolute of sine wave and sawtooth signal.

Hmm.. now I'm thinking about what should I do next to have fun with Matlab. lol


ciao ciao,
-ems-

2 comments:

  1. ahahahha... crazy.. you said that this thing is fun?? omg.. i guess something wrong with your brain.. ahahaha.. :P

    RispondiElimina
    Risposte
    1. hahaha.... I think so...
      I made a new folder in my Matlab file. "crazy project" LOL

      Elimina