manga04_jpg login_tab_left_jpg
Username:   Password:    Forgot Password?
App
Try out our new iPhone application!
App
Manga Poll
How big of a manga fan are you (in terms of # of series read / reading)?
Beginner (<10)
Casual reader (10-100)
Rookie (100-250)
Intermediate amateur (250-500)
Amateur (500-750)
Advanced amateur (750-1k)
Intermediate professional (1-1.5k)
Professional (1.5k-2k)
Advanced professional (2k-3k)
Sensei (3k+)
 
See Old Polls

Manga is the Japanese equivalent of comics
with a unique style and following. Join the revolution! Read some manga today!

Coded in ConTEXT

Join #baka-updates @irc.irchighway.net

RSS Feed
 
center_left_tab Forums center_right_tab

You are now viewing a topic.

Homework Help

Back to Chatter Box


Pages (25) [ First ... 20 21 22 23 24 25 ] Next You must be registered to post!
From User Message Body
lynira
Post #574784
user avatar
Site Admin

2:41 am, Oct 25 2012
Posts: 427


Quote from Bafflement
Could you be more specific about what is going wrong for you?
I don't know much about Matlab, so I don't really know what's going wrong... Basically I have a 3052 by 1 matrix (if you graph this, you can see there is a jump around 1020 and also at 2034) and it should be processed using this code. One of the steps in the code is to stitch the graph so that it looks continuous, but in the output, it's clearly not stitched.

Quote from HikaruYami
In such cases, rather than make an enormous graph with hard-to-see data specks, the normal method is annotating the axes with two small arrows going into and out of the graph, that stands for "there is a large gap here that is not physically represented"
Ah... I know what you mean; in a case where there is a gap in the data, you can make a dashed line or double slash on the appropriate axis showing that a portion of it is skipped.

But for my data, the gap is artificial and needs to be eliminated, and this function is supposed to do that. (For example, if point 1018 is 401, point 1019 is 402, point 1020 is 503, point 1021 is 504; you can see that the data jumps by 100 between 1019 and 1020. This function should elminate that jump so that the data will be 401, 402, 403, 404.)

Last edited by lynira at 2:58 am, Oct 25

________________
Manga Cover Database
Bafflement
Post #574789 - Reply to (#574784) by lynira
user avatar
Member

3:24 am, Oct 25 2012
Posts: 130


Quote from lynira
Quote from Bafflement
Could you be more specific about what is going wrong for you?
I don't know much about Matlab, so I don't really know what's going wrong... Basically I have a 3052 by 1 matrix (if you graph this, you can see there is a jump around 1020 and also at 2034) and it should be processed using this code. One of the steps in the code is to stitch the graph so that it looks continuous, but in the output, it's clearly not stitched.

The short answer is that the program scales the plot according to the calibration data, and there's no discontinuity in your calibration input, only in your spectral data.

lynira
Post #574792 - Reply to (#574789) by Bafflement
user avatar
Site Admin

4:37 am, Oct 25 2012
Posts: 427


Quote from Bafflement
The short answer is that the program scales the plot according to the calibration data, and there's no discontinuity in your calibration input, only in your spectral data.
You mean that the function is only stitching the calibration input and nothing else? But the line "SPECraw0=[SpecIn(1:stpts(1)-1);SpecIn(stpts(1):stpts(2)-1)*s tmags(1);SpecIn(stpts(2):end)*stmags(1)*stmags(2)]-DKraw;" should stitch SpecIn, shouldn't it? Is there something wrong with this line, making it not work?

________________
Manga Cover Database
Bafflement
Post #574793 - Reply to (#574792) by lynira
user avatar
Member

4:42 am, Oct 25 2012
Posts: 130


Quote from lynira
Quote from Bafflement
The short answer is that the program scales the plot according to the calibration data, and there's no discontinuity in your calibration input, only in your spectral data.
You mean that the function is only stitching the calibration input and nothing else? But the line "SPECraw0=[SpecIn(1:stpts(1)-1);SpecIn(stpts(1):stpts(2)-1)*s tmags(1);SpecIn(stpts(2):end)*stmags(1)*stmags(2)]-DKraw;" should stitch SpecIn, shouldn't it? Is there something wrong with this line, making it not work?

No, the rescaling is applied to the spectral data, as you see in that line. However, the rescaling factor only depends on the calibration input. Look at line 18, where the scaling factor from the line you quoted is defined.

lynira
Post #574797 - Reply to (#574793) by Bafflement
user avatar
Site Admin

5:26 am, Oct 25 2012
Posts: 427


Quote from Bafflement
No, the rescaling is applied to the spectral data, as you see in that line. However, the rescaling factor only depends on the calibration input. Look at line 18, where the scaling factor from the line you quoted is defined.
Ah, I see what you mean. So if I change the scaling factor to depend on SpecIn instead (like this: "stmags=[SpecIn (stpts(1)-1)/SpecIn(stpts(1)),SpecIn (stpts(2)-1)/SpecIn(stpts(2))];"), it will stitch SpecIn? (Unfortunately, I don't have access to Matlab right now, so I can't test it till I get to a computer lab tomorrow.)

But will changing stmags to depend on SpecIn mess up the spectra that don't need to be stitched (DkIn and CalIn)? And if so, can I fix that by making a version of stmags for each of these three spectra (and then of course calling the proper stmags version in each stitching line)?

Sorry for all the questions and thank you for all your help! I really, really appreciate it.

________________
Manga Cover Database
Bafflement
Post #574799 - Reply to (#574797) by lynira
user avatar
Member

5:53 am, Oct 25 2012
Posts: 130


Quote from lynira
Ah, I see what you mean. So if I change the scaling factor to depend on SpecIn instead (like this: "stmags=[SpecIn (stpts(1)-1)/SpecIn(stpts(1)),SpecIn (stpts(2)-1)/SpecIn(stpts(2))];"), it will stitch SpecIn? (Unfortunately, I don't have access to Matlab right now, so I can't test it till I get to a computer lab tomorrow.)

But will changing stmags to depend on SpecIn mess up the spectra that don't need to be stitched (DkIn and CalIn)? And if so, can I fix that by making a version of stmags for each of these three spectra (and then of course calling the proper stmags version in each stitching line)?

Making a separate stmags for each input should make the plot continuous. I can't say whether that's a suitably accurate representation of your data without knowing more about it. There will also still be a problem with the end of the plot getting cut off because your wavelength data covers a larger range than the hardcoded calibration data included in the program.
Quote
Sorry for all the questions and thank you for all your help! I really, really appreciate it.

No worries. It lets me practice my Matlab understanding and gives me a short distraction from my own work, which can be welcome even if it is technically procrastination!

neonkitty
Post #579012
user avatar
Member

4:01 am, Dec 1 2012
Posts: 318


Can anyone tell me how I should cite this material in my research paper in MLA format (in text citation&in references page)? confused

http://www.child-centre.unito.it/papers/child22_2009.pdf

Kialect
Post #579014
user avatar
Yandere or Die!
Member

4:12 am, Dec 1 2012
Posts: 15


All your MLA formatting needs can be found on Purdue OWL biggrin

For in-text citation, you'll simply put the author's last name in parentheses after your quote or paraphrase. For your specific source, there are two authors, but the same concept still applies.

"Across the world men and women have different roles in society and within the family" (Tanturri and Mencarini 2).

You must also include the page number for that specific quote. For your works cited, this will do:

Tanturri and Mencarini. "Fathersí involvement in daily childcare activities in Italy: does a work-family reconciliation issue exist?" Centre for Household, Income, Labour and Demographic Economics, 2009. PDF file.

Last edited by Kialect at 4:32 am, Dec 1

________________
User Posted Image
"It's just pure, mindless vandalism!" -Robert Sheehan
neonkitty
Post #579019
user avatar
Member

4:41 am, Dec 1 2012
Posts: 318


Thank you!! biggrin and thanks for the website too! I imagine I'll be using it a lot in the future. smile

Kialect
Post #579020
user avatar
Yandere or Die!
Member

4:46 am, Dec 1 2012
Posts: 15


No problem! I'm bored!

________________
User Posted Image
"It's just pure, mindless vandalism!" -Robert Sheehan
neonkitty
Post #579526
user avatar
Member

3:53 pm, Dec 5 2012
Posts: 318


You have $15,000 in your bank account, later it increases to $21,000. What was the percent increase?

pandasamurai
Post #579528
user avatar
Valkyrie of Etro
Member

4:17 pm, Dec 5 2012
Posts: 26


40% increase.

________________
^,..,^ Vampys Rule!
[{(ヴァンパイアル ール!)}]
---and---
ZaYuriMonsta---->X
@}--'--,-百合のモンス ターはここにimaし
neonkitty
Post #579530 - Reply to (#579528) by pandasamurai
user avatar
Member

4:21 pm, Dec 5 2012
Posts: 318


Quote from pandasamurai
40% increase.


6000/15000*100, right?
Thanks smile

jj11103
Post #580454
user avatar
Member

6:59 am, Dec 14 2012
Posts: 143


"The first glance of a soul which does not yet know itself is like the dawn in the sky."

Can this count as an analogy or is it just a simile? Or both? Thanks(:

chineserider
Post #580455
user avatar
Persona non grata
Member

7:16 am, Dec 14 2012
Posts: 1489


A simile is basically an analogy between two things with the use of "like" or "as."

________________
Nulla in mundo pax sincera
User Posted Image
"Always go too far, because that's where you'll find the truth." - Albert Camus
Pages (25) [ First ... 20 21 22 23 24 25 ] Next You must be registered to post!

Back to Chatter Box  Back to Top

Search This Topic:
 
Manga Search
MANGA Fu
MEMBERS
TEAM-BU


footer