Help Creating a Sine Wave in Numbers '09?

Hi,
I'm having trouble graphing some data in Numbers, having been used to Excel for most of my life. What I've basically got to do is graph a sine wave representing the annual variation described in the graph (it compares CO2 concentration measured at a chain of islands to time in years). I've figured out easily how to graph the data on a polynomial treadline curve, but now I've got this to do.
The instructions say to make a new column in column D and enter in the equation 1.435x-2501.1, which is derived from the linear fit treadline equation I had calculated earlier. After that I am to copy it down to match the number of cells in column A (626), which I did, so now every cell in D down to 626 contains that equation above. Then, I enter 1 in cell E1 and 1/12 in order to arbitrarily guess at the sine wave amplitude and period, respectively, and finally I then select cell D1 and put in this equation:
=1.435*A2-2501.1+($E$1*SIN(A2/$F$1))
After that I grab cell D2, drag it down to select all the cells in column D, and add it to the graph by (I think) dragging it onto the graph, as Numbers says to do. What I'm uncertain of is where to go from here. Here are the instructions:
'To plot the model values on the chart, double click or right click on the chart and select "Select Data" and click on Add under Series. Name the series "Model" and select data in column A for the X values and data in column D for the Y values. Rename Series 1 "Raw Data" and click OK."
That's all stuff you can do in Excel... I don't know how to do it in Numbers. When I drag D into the graph, it works fine, but when I go to add in column A for X and D for Y in Inspector it won't let me type anything. How do I complete this sine wave?
Thank you very much in advance for reading through this and helping me.

theleonhearted wrote:
The instructions say to make a new column in column D and enter in the equation 1.435x-2501.1, which is derived from the linear fit treadline equation I had calculated earlier. After that I am to copy it down to match the number of cells in column A (626), which I did, so now every cell in D down to 626 contains that equation above.
I'm not sure of the reason for this step.
1.435x-2501.1
Entered into D2, with the x value in A2 is expressed as:
=1.435*A-2501.1
which is part of the formula below.
Then, I enter 1 in cell E1 and 1/12 in order to arbitrarily guess at the sine wave amplitude and period, respectively, and finally I then select cell D1 and put in this equation:
=1.435*A2-2501.1+($E$1*SIN(A2/$F$1))
I'm assuming "1/12" goes in F1.
I've also assumed row 1 is a Header row, and have entered your formula into the first data row (D2)
Your formula is now:
(1.435 times the value A) - 2501.1 + 1 * (Sin( the value in A divided by 0.833...))
or
(1.435 times the value A) - 2501.1 + 1 * (Sin( the value in A multiplied by 12))
You haven't given any specifics regarding the raw data, so I've arbitrarily set it to a positive linear slope by making A =ROW()-1.
After that I grab cell D2, drag it down to select all the cells in column D, and add it to the graph by (I think) dragging it onto the graph, as Numbers says to do. What I'm uncertain of is where to go from here. Here are the instructions:
'To plot the model values on the chart, double click or right click on the chart and select "Select Data" and click on Add under Series. Name the series "Model" and select data in column A for the X values and data in column D for the Y values. Rename Series 1 "Raw Data" and click OK."
These may be instructions for Excel. Using Numbers, a simpler way to place thie data into an X-y Scatter plot is this:
Set the data up to occupy the full columns A and D, not including the Header row mentioned above.
Select Column A: Click on any cell to make the table active show the row and column Reference tabs.
Click on column A's reference tab.
Command-clickon column D's reference tab to add it to the selection.
Click the Chart button in the tools and choose the Scatter chart icon from the menu.
If I've read this correctly, your formula imposes a sine wave onto the set of data.
Here are the results. The expanded chart at the right shows the approximately the area bounded by the light blue rectangle at the upper end of the plot in the larger chart.
Regards,
Barry

Similar Messages

  • I would like to create a sine wave in Illustrator. How do I do this in a simple way?

    Hi,
    As the title suggest I would like to create a sine wave in illustrator. I know that applying the zig zag effect to a line and choosing "smooth" will create a cosine wave. But is there a simple way like that to create a sine way? Or any way at all?
    Thanks for the help!
    ekmanch

    1. start with the zig zag effect
    2. with the scissor tool cut where the ends of the red line is - I made the rest blue to make it clear
    3. delete the blue segments to get this
    4. using the black pointer or scale tool stretch horizontally to match the reference
    5. using the white pointer select one of the smooth anchor points, and using the Scale tool and holding Shift drag to scale constraining horizontally until the curve matches the reference
    6. select the other smooth point and with the scale tool selected press the Enter key on your keyboard twice to apply the previous scale
    click the image to see it larger

  • Formula node to create a sine wave

    I am trying to create a Sine Wave to display on an XY Graph using a formula node. I've put in my formula which is: Sine=Emax*sin(2*pi*f*t). I am getting a very choppy almost triangular wave displayed on the xy graph. Any suggestions as to how to get it to display a clean waveform.
    Thanks
    Chirs

    Assuming you have more than "LabVIEW base", open your tools palette and have a look at "signal processing...signal generation..sine pattern"
    LabVIEW Champion . Do more with less code and in less time .

  • Creating a Sine Wave Chart with Continue if True

    Hello, 
    I want to create a simple sine wave chart using a while loop and using the continue if true mode. I want to use a Not icon to accomplish this. I also need to have a stop button that a user can press to terminate the process. I have attached my initial sine wave chart using the stop if true and my attempt at accomplising the continue if true. 
    Thanks for any help! 
     

    It sounds like you want the loop to continue if the stop button is NOT pushed.  Does this give you a hint about how to write your program?

  • Help creating Time Tracking spreadsheet in Numbers

    I need to create a spreadsheet to calculate time spent on each of my tasks at work.
    Can you help me?
    WHat formulas would I need to use to calculate the time between the start time and finish time? and what would I need to put into the start and finish time columns to make that end total time calculation work?
    I have been looking for a template but I just can't find one.
    I love the running log in the standard templates that comes with Numbers it has graphs and totals ata glance, I would love to create somethign like this for time spent on each of my tasks.
    Can you point me in the direction of tutorials or ghelp me?

    Here's one possibility:
    Columns C and D extract the TIMEVALUE of the Date and Time value in column B, placing the value in column C if the employee has arrived prior to or at the time shown in C1 or in column D if the arrival time is later than the time in C1.
    Formulas:
    C2, filled down: =IFERROR(IF(TIMEVALUE(B)>TIMEVALUE($C$1),0,TIMEVALUE(B)),"")
    D2, filled down: =IFERROR(IF(TIMEVALUE(B)>TIMEVALUE($C$1),TIMEVALUE(B),0),"")
    The IFERROR envelope is used to produce the 'empty' cells where no time has been entered in column B.
    The chart is a Stacked Bar Chart. Upper and lower limits for the Y axis were set using values calculated for the arrival times entered for January 9 (10:00 AM, 60 minutes late) and January 10 (8:30 AM, 30 minutes early).
    The number of steps was set to 6 to give horizontal grid lines at 15 minute intervals.
    Labels on the Y axis are in a Text box, and mark 15 minute intervals. Adjust line spacing to match these to the grid lines.
    The line at OT (on time) has been added as a shape, pasted to the document and moved into the correct location.
    Regards,
    Barry

  • How to create sine wave and step input using cwgraph in VB 6.0

    hello..
    i'm doing my master's project now. i'm stuck on how to create a sine wave and a step input using the cwgraph using VB 6.0. please help. thanks.

    hello..thank for the reply.
    i'm having problem with my coding using cwgraph. can anyone help. everytime i do the full compile, there's error.but it can still can run, but can't convert to application form.for your info, i'm using RTscope and cwgraph to plot graph.the error is in the cwgraph coding.below are part of the coding with error. and can somebody tell me how to add cwgraph component in the VB? i try adding component, but it's not in the list of component,and i've browse for it already too.i'm doing the software at home, but i'can run it at my lab cause cwgraph component is not listed.please help.
    Dim countTime As Integer, count1 As Integer, countFreq As Integer, countVolt As Integer
    Private Sub cmdRun_Click()
    If cmdRun.CausesValidation = True Then
    cmdPause.CausesValidation = False
    tmrOsc2.Enabled = True
    tmrOsc3.Enabled = True
    Else
    cmdPause.CausesValidation = False
    tmrOsc2.Enabled = False
    tmrOsc3.Enabled = False
    For count1 = 0 To 100
    Data1(count1) = 0
    Data2(count1) = 0
    RT1.Value(1, count1) = 0
    RT1.Value(2, count1) = 0
    RT1.Refresh
    CWGraph2.Plots(1).PlotY count1 ' THIS CODING HAS AN ERROR ...
    CWGraph2.Plots(2).PlotY count1 ' THIS CODING HAS AN ERROR ...
    Next count1
    End If
    End Sub

  • Creating and controlling a sine wave

    I am a TA for Control Systems & Instrumentation at Texas State University. As the assistant I am required to assist students in their homeworks and projects. I have encountered a problem in assisting the students. How do I create a Sine Wave wit ha sampling frequency of 200 Hz? Obtain the power spectrum of the signal and change the sine wave frequency to 25 Hz. Determine if the resulting frequency is about the Nyquist frequency. Then increase the sine wave to 125 Hz and compare to the Nyquist frequency again.

    There is an example shipped with LabVIEW 2009 called "Resampling a Waveform (continuous).vi" I think this vi will demonstrate what you are trying to do. Change the sine wave frequency using the frequency control in the Test Signals (A) box and change the sampling frequency by updating the output rate control in the Output timing box. You will then see the original waveform spectrum at the original sampling rate (Fs) and the re-sampled spectrum will be shown in red so you can see the shift.
    Systems Test Engineer
    Certified LabVIEW Architect (CLA)

  • How do I make a sine wave in illustrator?

    Hi,
    I started a thread earlier this evening but I think that I accidentally flagged it as "solved" or something like that (I'm new to this forum). So I'm trying this again. I want to know if there's a way of creating a sine wave in illustrator. I've managed to create a cosine wave by using the zig zag effect on a line and choosing "smooth". But I can't seem to find a good way to make a sine wave.
    This is the difference for anyone wondering:
    I want a sine wave just like the picture above.
    Thanks for the help!
    ekmanch

    ekmanch,
    As I (mis)understand it, to create a single full sine wave, you may:
    1) Create a horizontal line 2.5 times the length of the desired full sine wave (or you may adapt the length later);
    2) Effect>Distort & Transform>Zig Zag with 4 Ridges per segment and Smmoths Points and the desired height as the Size (or you may adapt later);
    3) Object>Expand Appearance;
    4) Object>Path>Add Anchor Points;
    5) With the Scissors Tool cut where the sine wave starts and ends;
    6) Ungroup if needed and delete the end bits (and adapt the length/height if needed).

  • Generating sine wave

    Hello,
    I have a small labview problem.
    I want to generate a sine wave pulse with labview and send this to a pc oscilloscope by using my soundcard.
    First VI I made creates a sine wave and sends it to the pc oscilloscope. Works perfectly.
    But now i want to create a sine wave with only one period (second VI). Problem is then that the VI blocks if i want a high frequency (I need 10kHz)
    So the VI works on low frequencies but gives this error with higher frequency:
    "the sound driver or card does not support the desired operation."
    Can somebody give a solution for my second VI (creating sine with one period on 10kHz).?
    Thanks in advance!
    Jelle
    Solved!
    Go to Solution.
    Attachments:
    GeneratingSineWaveManyPeriods.vi ‏59 KB
    GeneratingSineWave1period.vi ‏37 KB

    Hello Benje,
    The problem/difference you're seeing is indeed in the coding and also in the sound card.
    In the "working" example you're using the Simulate Signal VI with the following settings:
    - 44100 samples per second (sample rate)
    - Number of samples 10000 (samples per generation cycle)
    In the non working example you specify:
    - sample rate = 1000*"Frequency Control value". This sampling info should be fixed to (for example) 441000 Hz.
    - Number of samples 1000 (samples per generation cycle)
    As a sidenote:
    Is there any reason why you used different functions to generate similar signals in the 2 VI's?
    Kind Regards,
    Thierry C - Applications Engineering Specialist Northern European Region - National Instruments
    CLD, CTA
    If someone helped you, let them know. Mark as solved and/or give a kudo.

  • Sine waves, sidechaining, and a deeper kick drum question

    Hi all,
    I found the following tutorial on sidechainng a sine wave to create a deeper sounding kick drum and tried to do it, but I'm going wrong somewhere.
    http://www.generate-music.com/QT/L8_SinewaveTutorial.mov
    He says to use a test tone generator to create a sine wave at 55 hz and export that as an audio track. I'm not quite sure how to do that. I saw a test oscillator plug-in when you create an audio track, so I set that up to about 55hz and hit record, and it just gives me that test tone but it doesn't look like anything recorded.
    Also, when he puts the Channel EQ, Expander, and Noise Gate on the Aux 2 audio track, I see a "SineWav..." channel strip setting with those 3 plug-ins...is this an existing strip setting that I just can't find, or did he manually place the 3 plug-ins and then save it as "SineWav..."?
    Any help is appreciated! Thanks!

    Hi,
    You can export the 55 Hz sine wave, just do a new empty session, create an instance of the tone generator, set ti 55 Hz, turn it up (lower the volume of your speakers) and bounce a few bars of it.
    Then you'll have your 55 Hz audio file ready for use. Import it into the session you'll want to use it on.
    As far as the channel preset, he robably made that one himself. No worries, just match what he did.
    Cheers

  • How to generate a continuous sine wave for a given amount of time

    I am trying to output a continuous sine wave for a speaker, but I am having difficulty making it continuous rather than looping the signal for a given amount of time, which causes discontinuities. There is a VI in the Labview examples titles Continous Generation, but it produces a square wave. Is there a way to adapt this VI such that the amplitude and frequency can be used as inputs to create a sine wave?

    I found a VI that ships with labview(7.0)called continuous sound output. the output of this is a sine wave or you can change it to whatever you want.
    Sorry cannot help more
    Joe
    Joe.
    "NOTHING IS EVER EASY"

  • Sampling sine wave and saving the samples in an array.

    helo..
    I am new to Labview and i need some help regarding sampling the sine wave.
    I have generated the sinewave in labview and now i want to sample it.(do i need an ADC for sampling?) and the samples should be saved in an array.
    I dont know how to do this.
    Please tell me how to do this or post some related examples..
    Thanks in advance 

    All of the functions that generate a sine wave in software do save all of the samples in an array. You just need to know how to get them. Since you did not mention the function you used to create the sine wave, lets assume it's the Express VI Simulate Signal. On the signal output, wire a Convert From Dynamic Data type function and select the default 1d Array of Scalars. Right click on the output of this and select Create Indicator. You now have the array. If you are using Sine Waveform which outputs a waveform data type, just wire up a Get Waveform Components function and select the item 'Y'.
    For learning the basics, please see the free tutorials
    Message Edited by Dennis Knutson on 10-28-2008 08:23 PM
    Attachments:
    Get Y Array.PNG ‏4 KB

  • Generate two sine waves with time delay

    I have not been using the waveform generation tools so I hope this is an easy one for somebody.  I want to create two sine waves at different frequencies say F1 = 1.00 KHz and a second at F2 = 1.20 KHz.  I know that to combine them into one I can just add them.  Them problem I have is that I want F1 to start first then a few millisecond later have F2 sum into F1.
    T0 = F1
    T0 + Delay = F1 + F2
    Is there a VI capable of a time delay?  Tried to sum individual signals together but seems more difficult because of the waveform cluster format.
    Any help is appreciated,
    Matt
    Matthew Fitzsimons
    Certified LabVIEW Architect
    LabVIEW 6.1 ... 2013, LVOOP, GOOP, TestStand, DAQ, and Vison

    Would the attached VI work for you?
    Attachments:
    Add Delayed Sinewave.vi ‏54 KB

  • Pitch shifting a sine wave

    hi there,
    i'm trying to create my own kickdrum, and the method i'm using is to create a sine wave at 60 hz; pitch shift it +24 semitones, then over ~350 milliseconds i want to drop it -24 semitones. i have managed to create a test oscillator and bounce out a sine wave, however i cant seem to find a plug in or a method within logic to do a very clean slope/curve of the pitch.
    if anyone has any ideas or methods that would help me achieve this can you please let me know
    thanks!

    Why not just apply an envelope modulation to an oscillator in the ES2 or manipulate the resonance of a filter with an envelope mod? You can also do this in Ultrabeat.
    jord

  • How do I Fix DDS Generated Sine Wave That Produces a Periodic Square Wave?

    Hello,
    I'm an undergraduate researcher with almost no experience dealing with FPGA semantics and other National Instruments hardware in general.  Part of my project revolves around creating a sine wave signal via the FPGA on an sbRIO-9632 that is output via the board's analog I/O pins, and I found it convenient to adapt the code provided by the National Instruments tutorials (http://zone.ni.com/devzone/cda/epd/p/id/6066) to have it run on an sbRIO FPGA.  The problem I'm encountering right now is that the actual output I'm seeing is a square wave as opposed to the smooth sine wave that was expected, and I've exhausted all my ideas on possible ways to debug this issue.  Can anyone please give me feedback if they've seen this problem before or offer other suggestions on fixing this?
    I'm currently running LabVIEW 2009 with the appropriate real-time and FPGA modules on a 64-bit Windows 7 machine.  Again, the hardware is an sbRIO-9632 complete with analog I/O.  I appreciate it everyone!

    I am also having this issue and have not been able to find a solution in the forums. I am somewhat of a rookie so pardon me if I seem ignorant in any way. I am working on a graduate project where I need to produce some sine waves and I am getting more of a square wave when I output it and measure on the scope. The program I am running is quite simple at the moment to attempt to discover any errors by process of elimination. I have the sine wave generator in a while loop outputting to an AO port. I am using the cRIO 9022 with the 9269 AO module. I will attach screen shots of my code and my oscope image
    Attachments:
    sine wave.jpg ‏76 KB
    code for project.PNG ‏169 KB

Maybe you are looking for

  • Printer problems with snow leopard

    I updated to 10.6 and was fine with it until i tried printing on my HP laserjet P1006 not only was it not recognized, i even downloaded the driver from HP to no avail!!!! Next time i won't be so hasty to rush and upgrade my macbook. I should have kno

  • Run allocation error

    Dear expert, I have run Allocation successfully but nothing saved in database. source script like this: *XDIM_MEMBERSET TIME=2013.01,2014.01 *XDIM_MEMBERSET ACCOUNT = BS122 *XDIM_MEMBERSET CATEGORY=Plan,Actual *XDIM_MEMBERSET ENTITY =$SOURCE$,$TARGET

  • Changing functionality of 'Minimize Window' button to 'Hide Window'

    Hi! I very rarely use minimizing since I don't like the minimized windows cluttering my dock - rather I just hide them. Instead of reaching for the keyboard command-H every time (many apps don't have a Hide menu item), I'd like to change the unused y

  • ODBC error in Access 2007

    Hello, I have an Access 2007 application, the front end for an Oracle 11g R2 database (latest patch, 11.2.0.2). Using client ODAC 11.2 Release 3 (11.2.0.2.1) - latest. The error is related to adding/deleting records from a linked table. Here are the

  • I need to re-install the file Installer and diskimagemounter

    I would appreciate if some body out there will advise me on how do I reinstall the Installer and Diskimagemounter files?