WOLFRAM COMMUNITY
Connect with users of Wolfram technologies to learn, solve problems and share ideas
Join
Sign In
Dashboard
Groups
People
Message Boards
Answer
(
Unmark
)
Mark as an Answer
WOLFRAM COMMUNITY
Dashboard
Groups
People
0
|
13541 Views
|
7 Replies
|
5 Total Likes
View groups...
Follow this post
Share
Share this post:
GROUPS:
Calculus
Wolfram Language
Numerical Computation
How to do numerical integration from data set?
luke schutzenhofer
luke schutzenhofer
Posted
11 years ago
How to do numerical integration from a data set?
POSTED BY:
luke schutzenhofer
Reply
|
Flag
7 Replies
Sort By:
Replies
Likes
Recent
0
luke schutzenhofer
luke schutzenhofer
Posted
11 years ago
How do I import excell data to mathematica and inverse
POSTED BY:
luke schutzenhofer
Reply
|
Flag
0
Sean Clarke
Sean Clarke, Wolfram Research
Posted
11 years ago
Please see these examples in the documentation.
http://reference.wolfram.com/mathematica/howto/ImportASpreadsheet.html
http://reference.wolfram.com/mathematica/howto/ExportASpreadsheet.html
POSTED BY:
Sean Clarke
Reply
|
Flag
0
luke schutzenhofer
luke schutzenhofer
Posted
11 years ago
When I integrate using the definite integral symbol in conjunction with the N symbol I get a small complex numerical in addition to the correct answer. What does that mean and what action is necessary.
Luke
POSTED BY:
luke schutzenhofer
Reply
|
Flag
1
Sean Clarke
Sean Clarke, Wolfram Research
Posted
11 years ago
Use the Chop command.
http://reference.wolfram.com/mathematica/ref/Chop.html
Or you can use Re to get the real part of the complex number.
POSTED BY:
Sean Clarke
Reply
|
Flag
1
Bruce Miller
Bruce Miller, Wolfram Research
Posted
11 years ago
What it means is that during the calculation there were two complex intermediate results whose imaginary components almost cancelled.
If the calculation were done with exact numbers (Integers and Rationals), the imaginary components would have exactly cancelled.
POSTED BY:
Bruce Miller
Reply
|
Flag
1
Alexey Popkov
Alexey Popkov
Posted
11 years ago
Strongly related SE thread:
How to integrate functions of linearly interpolated data?
POSTED BY:
Alexey Popkov
Reply
|
Flag
2
David Reiss
David Reiss, Scientific Arts
Posted
11 years ago
Look up
Interpolation
and
NIntegrate
. Here is an example:
fun = Interpolation[{{0, 0}, {0.1, .3}, {0.5, .6}, {1, -.2}, {2, 3}}]
NIntegrate[fun[x], {x, 0, 2}]
POSTED BY:
David Reiss
Reply
|
Flag
Reply to this discussion
in reply to
Add Notebook
Community posts can be styled and formatted using the
Markdown syntax
.
Tag limit exceeded
Note: Only the first five people you tag will receive an email notification; the other tagged names will appear as links to their profiles.
Publish anyway
Cancel
Reply Preview
Attachments
Remove
Add a file to this post
Follow this discussion
or
Discard
Group Abstract
Be respectful. Review our
Community Guidelines
to understand your role and responsibilities.
Community Terms of Use
Feedback
Enable JavaScript to interact with content and submit forms on Wolfram websites.
Learn how »