Group Abstract Group Abstract

Message Boards Message Boards

0
|
10.6K Views
|
7 Replies
|
0 Total Likes
View groups...
Share
Share this post:

[?] Use imported data for calculations?

Posted 9 years ago

I am just getting started using Mathematica. I have a code I developed in Matlab, but I realize now that Matlab does not calculate Macdonald functions of imaginary order. So, here I am with Mathematica. I have a *.csv file with numeric data array. I figured out how to read in array, but cannot find anything to instruct me how to extract element-wise values that I can use in computations. The convention of "{{ }}", or "[{ }]", or "[[ ]]" is not explained in any of the documentation, and no combination I try works. I am trying to extract, for instance, element at position [2,3] of the array to perform a calculation. The output I get is taking the entire array and performing the calculation on all elements. How do I get the calculation on the single element I want?

Dwight

POSTED BY: Dwight Swett
7 Replies
POSTED BY: Dwight Swett

Dwight, the For command must use uppercase F. Secondly, the nf<=Nfrq+1 yields a value of 11 but frg has a maximum of 10 elements. This requires nf<Nfrq + 1 or nf,<=Nfrq. Hope this helps. Regards, -Ed

POSTED BY: Ed Forrester
POSTED BY: Dwight Swett
POSTED BY: Dwight Swett
Anonymous User
Anonymous User
Posted 9 years ago

You should read at least the quick introduction to using Mathematica in the Mathematica Book (Documentation Center, version 11).

I think the Mathematica Book version 4.0 (or 5.x) are easier to sit down and read the introduction of than Documentation Center.

You can find a free mathematica book pdf at:

http://reference.wolfram.com/legacy/v5_2/

POSTED BY: Anonymous User
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard