All About Circuits Forum matlab - finding amplitude, frequency & periodic time of given sine wave
 Register Blogs FAQ Members List Today's Posts Search Today's Posts Mark Forums Read

 Programmer's Corner Discussion forum for all aspects of programming and software engineering. Any software programming language welcome: C, C++, C#, Fortran, Java, Matlab, etc.

#1
12-04-2008, 10:17 AM
 wick54 New Member Join Date: Dec 2008 Posts: 3
matlab - finding amplitude, frequency & periodic time of given sine wave

hi every one,
i'm trying to find amplitude, frequency & periodic time of given sine wave using matlab
actually the equation is y = 2sin3x and x is -4pi<x<4pi
so what commands shoud use in matlab to find those variables

in addition, i need to draw the fequency domain plot for the above given plot using matlab
thank you
#2
12-04-2008, 12:52 PM
 blazedaces Senior Member Join Date: Jul 2008 Posts: 130

Quote:
 Originally Posted by wick54 hi every one, i'm trying to find amplitude, frequency & periodic time of given sine wave using matlab actually the equation is y = 2sin3x and x is -4pi
Seriously? A teacher actually assigned this to you? These numbers are obvious by observation based on a simple equation: y = A*sin(2*pi*f*x+phase). Honestly, what in the world is the point of learning how to obtain it through matlab?

Sorry, I just feel it seems like a stupid assignment. But that doesn't really help you does it. Anyway, as you can see I've shown you how you can easily obtain these constants via observation in real life. That should explain to you certain ways you can go about it.

So... do you have any idea what a frequency domain plot even is? What issues are you having with this problem? Do you know how to do these things normally and are having trouble with matlab? What have you done so far on your own that we can help you with?

-blazed
#3
12-04-2008, 10:00 PM
 wick54 New Member Join Date: Dec 2008 Posts: 3

thanks bro, what about the 2nd part??? do you guys know abt to draw the fequency domain plot for the above given plot using matlab??
than you
#4
12-04-2008, 10:53 PM
 blazedaces Senior Member Join Date: Jul 2008 Posts: 130

Quote:
 Originally Posted by wick54 thanks bro, what about the 2nd part??? do you guys know abt to draw the fequency domain plot for the above given plot using matlab?? than you
Sure.

Now, do you know what a frequency domain plot actually is and how to obtain it without matlab? As in by hand? If you do, matlab makes it incredibly easy...

-blazed
#5
12-05-2008, 02:13 AM
 wick54 New Member Join Date: Dec 2008 Posts: 3

actually i have no idea how to make to by hand, can you please tell me how can i use matlab to plot it???
#6
12-05-2008, 03:49 AM
 blazedaces Senior Member Join Date: Jul 2008 Posts: 130

Quote:
 Originally Posted by wick54 actually i have no idea how to make to by hand, can you please tell me how can i use matlab to plot it???
I don't understand, what kind of class tells you to do something you've never even heard of by hand... in a computer?

The concept of the frequency domain. Do you know where that comes from? Do you know what it means? Even in very simple terms?

Do you know what is the fourier transform?

-blazed
#7
03-27-2009, 12:16 PM
 Aesh New Member Join Date: Mar 2009 Posts: 2

Quote:
 Originally Posted by blazedaces Sure. Now, do you know what a frequency domain plot actually is and how to obtain it without matlab? As in by hand? If you do, matlab makes it incredibly easy... -blazed

hi..i ws searching on how do v study the waveforms in frequency-domain graph. i came accross this post..n really wnt to know how a frequency-domain plot is drawn by hand?
Thnx
#8
03-28-2009, 12:26 AM
 dig1 Junior Member Join Date: Jul 2008 Posts: 18

frequency domain plot is done with two things:

like just a regular graph, frequency graph has two variables.... W - omega and the magnitude of the transfer function or the function expressed in the s-domain or frequency domain. usually these are the fourier coefficents....just graph these two variables on a graph like you would a regular equation

 Tags amplitude, finding, frequency, matlab, periodic, sine, time, wave

 Related Site Pages Section Title Worksheet Passive integrator and differentiator circuits Worksheet Mixed-frequency signals Worksheet AC waveforms Textbook More on spectrum analysis : Mixed-frequency Ac Signals Textbook Square wave signals : Mixed-frequency Ac Signals Video Lecture Sine Wave Characteristics (cont) - Alternating Current Textbook AC waveforms : Basic Ac Theory Textbook AC phase : Basic Ac Theory Textbook Measurements of AC magnitude : Basic Ac Theory Textbook Waveform analysis : Ac Circuits

 Similar Threads Thread Thread Starter Forum Replies Last Post SpeedEuphoria General Electronics Chat 11 05-01-2010 12:28 AM Dave Programmer's Corner 7 11-09-2008 05:51 AM AetherNZ The Projects Forum 3 07-17-2008 02:32 AM hyde6666 The Projects Forum 0 07-15-2008 06:35 PM relicmarks General Electronics Chat 10 04-19-2008 10:45 PM

 Thread Tools Display Modes Linear Mode

 Posting Rules You may not post new threads You may not post replies You may not post attachments You may not edit your posts BB code is On Smilies are On [IMG] code is On HTML code is Off Forum Rules
 Forum Jump User Control Panel Private Messages Subscriptions Who's Online Search Forums Forums Home Electronics Forums     General Electronics Chat     The Projects Forum     Homework Help     Electronics Resources Software, Microcomputing, and Communications Forums     Programmer's Corner     Embedded Systems and Microcontrollers     Computing and Networks     Radio and Communications Circuits and Projects     The Completed Projects Collection Abstract Forums     Math     Physics     General Science All About Circuits Commmunity Forums     Off-Topic     The Flea Market     Feedback and Suggestions

All times are GMT. The time now is 07:54 AM.