<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How can I import data ? in Mathcad</title>
    <link>https://www.ptcusercommunity.com/t5/Mathcad/How-can-I-import-data/m-p/357173#M139785</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;jinsuk Lee wrote:&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;First, Thank you for your consideration.&lt;/P&gt;
&lt;P&gt;I use Mathcad-prime.&lt;/P&gt;
&lt;P&gt;I attached my file.&lt;/P&gt;
&lt;P&gt;thak you for my reading question&lt;/P&gt;

&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;No problem.&amp;nbsp; I think the attached may do what you want.&amp;nbsp; It shows a couple of ways of doing it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The first approach takes up a bit more memory (which isn't even worth considering such a small amount of data - it might be if you want to play with megabytes of data) but has the advantage of only reading the data in once, resulting in quicker evaluation within Mathcad and giving you more flexibility if you want to look at the performance data in parallel. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The second approach has the advantage of reading in just the data you want for the give Reynolds number and allows you to specify more directly which rows and columns you want (as opposed to working out the column and row numbers).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stuart&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-1" src="https://community.ptc.com/legacyfs/online/93649_pastedImage_1.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Oct 2015 10:30:17 GMT</pubDate>
    <dc:creator>StuartBruff</dc:creator>
    <dc:date>2015-10-26T10:30:17Z</dc:date>
    <item>
      <title>How can I import data ?</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/How-can-I-import-data/m-p/357166#M139778</link>
      <description>Dear Mathcad ProfessorsI am a student. I am going to study Matcad S/W and I have a problem.&amp;nbsp;&amp;nbsp; The problem is that I don't know to import data according to any data varidation.For example)Excel&amp;nbsp; A=250~500,&amp;nbsp;&amp;nbsp; B= [ 1, 2, 3, 4, 5]A=100~250,&amp;nbsp;&amp;nbsp; B= [ 1, 3, 5, 7, 9]A=0~100,&amp;nbsp;&amp;nbsp;</description>
      <pubDate>Thu, 03 May 2018 15:00:29 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/How-can-I-import-data/m-p/357166#M139778</guid>
      <dc:creator>jlee-2</dc:creator>
      <dc:date>2018-05-03T15:00:29Z</dc:date>
    </item>
    <item>
      <title>Re: How can I import data ?</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/How-can-I-import-data/m-p/357167#M139779</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, what is it Mathcad S/W?&lt;/P&gt;&lt;P&gt;One simple with Mathcad 15:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="93511" alt="copy.png" class="jive-image image-1" src="https://community.ptc.com/legacyfs/online/93511_copy.png" style="width: 620px; height: 443px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Oct 2015 05:18:03 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/How-can-I-import-data/m-p/357167#M139779</guid>
      <dc:creator>ValeryOchkov</dc:creator>
      <dc:date>2015-10-23T05:18:03Z</dc:date>
    </item>
    <item>
      <title>Re: How can I import data ?</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/How-can-I-import-data/m-p/357168#M139780</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;jinsuk Lee wrote:&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Dear Mathcad Professors&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;I am a student. I am going to study Matcad S/W and I have a problem.&amp;nbsp; &lt;/P&gt;
&lt;P&gt;The problem is that I don't know to import data according to any data varidation.&lt;/P&gt;
&lt;P&gt;For example)&lt;/P&gt;
&lt;P&gt;Excel &lt;/P&gt;
&lt;P&gt;A=250~500,&amp;nbsp;&amp;nbsp; B= [ 1, 2, 3, 4, 5]&lt;/P&gt;
&lt;P&gt;A=100~250,&amp;nbsp;&amp;nbsp; B= [ 1, 3, 5, 7, 9]&lt;/P&gt;
&lt;P&gt;A=0~100,&amp;nbsp;&amp;nbsp; B= [ 0, 1, 2, 3, 4]&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;If I need to import these data to Math-cad S/W acorroding to 'A' data variation &lt;/P&gt;
&lt;P&gt;How can I do?&lt;/P&gt;
&lt;P&gt;I sincerly need to help. Thank you for reading my question&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I presume by "S/W" you mean "software"?&amp;nbsp; Do you know which version of Mathcad you intend to use (do use?)? There are two major families of Mathcad: Mathcad Prime (the latest version being Prime 3.1) and the older non-Prime Mathcad (Mathcad 15 being the latest version).&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are several ways to import Excel data into Mathcad.&amp;nbsp; The READEXCEL function is probably the most versatile.&amp;nbsp;&amp;nbsp; Many people find the Excel component to be the most convenient, though.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your example, are both A and B in Excel?&amp;nbsp; Do you calculate B from A within Excel? Are the 3 ranges in different Excel workbooks or worksheets or are they all on the same worksheet?&amp;nbsp; Could you post a example workbook(s) to give a clearer idea of what you want?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to select the B data given A's value, then you may find it easier to import all of B from Excel and then select the values you want from the A values.&amp;nbsp; For example, (assuming you have read B in from the Excel file):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-1" src="https://community.ptc.com/legacyfs/online/93527_pastedImage_1.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stuart&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Oct 2015 07:51:20 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/How-can-I-import-data/m-p/357168#M139780</guid>
      <dc:creator>StuartBruff</dc:creator>
      <dc:date>2015-10-23T07:51:20Z</dc:date>
    </item>
    <item>
      <title>Re: How can I import data ?</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/How-can-I-import-data/m-p/357169#M139781</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are also a problem with the international specification. You can see that seven is paste as number, but others as string. You can change the decimal comma by a dot somewhere in windows settings, in "international settings" (not in excel), and try again to copy and paste.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 Oct 2015 01:57:47 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/How-can-I-import-data/m-p/357169#M139781</guid>
      <dc:creator>AlvaroDíaz</dc:creator>
      <dc:date>2015-10-24T01:57:47Z</dc:date>
    </item>
    <item>
      <title>Re: How can I import data ?</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/How-can-I-import-data/m-p/357170#M139782</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;AlvaroDíaz wrote:&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;There are also a problem with the international specification. You can see that seven is paste as number, but others as string. You can change the decimal comma by a dot somewhere in windows settings, in "international settings" (not in excel), and try again to copy and paste.&lt;/P&gt;

&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Yes, see please my message. I must sometimes use find "," and replace to "." and the function str2num for numbers but not strings having!&lt;/P&gt;&lt;P&gt;See &lt;A href="https://en.wikipedia.org/wiki/Decimal_mark" title="https://en.wikipedia.org/wiki/Decimal_mark"&gt;Decimal mark - Wikipedia, the free encyclopedia&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Blue - points&lt;/P&gt;&lt;P&gt;Green - comma&lt;/P&gt;&lt;P&gt;Red color - ??? (wars - Syria, Iraq, Afghanistan...)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="940px-DecimalSeparator.svg.png" class="jive-image image-1" src="https://upload.wikimedia.org/wikipedia/commons/thumb/a/a8/DecimalSeparator.svg/940px-DecimalSeparator.svg.png" style="width: 620px; height: 315px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 Oct 2015 05:09:59 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/How-can-I-import-data/m-p/357170#M139782</guid>
      <dc:creator>ValeryOchkov</dc:creator>
      <dc:date>2015-10-24T05:09:59Z</dc:date>
    </item>
    <item>
      <title>Re: How can I import data ?</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/How-can-I-import-data/m-p/357171#M139783</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First, Thank you for your consideration.&lt;/P&gt;&lt;P&gt;I use Mathcad-prime.&lt;/P&gt;&lt;P&gt;I attached my file.&lt;/P&gt;&lt;P&gt;thak you for my reading question&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Oct 2015 05:32:31 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/How-can-I-import-data/m-p/357171#M139783</guid>
      <dc:creator>jlee-2</dc:creator>
      <dc:date>2015-10-26T05:32:31Z</dc:date>
    </item>
    <item>
      <title>Re: How can I import data ?</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/How-can-I-import-data/m-p/357172#M139784</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Fortunately you are not using Prime 3.1, so I could read your file.&lt;/P&gt;&lt;P&gt;The attached file of mine is in Prime 3.0 format. So if you use Prime 2, you won't be able to open it and have to resort to the attached pictures.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe something like the following does what you want?&lt;/P&gt;&lt;P&gt;&lt;IMG 93660="" /&gt;&lt;/P&gt;&lt;P&gt;I also added a function to return lift and drag values for a given angle using linear interpolation. Guess the table refers to the dimensionless lift and drag coefficients.&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="_pastedImage_1.png'" style="width: 399px; height: 360.867px;" width="399" /&gt;&lt;/P&gt;&lt;P&gt;Regards Werner&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EDIT: Added plots for lift and drag - comparing the tables for different Reynold numbers:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-3" height="377" src="https://community.ptc.com/legacyfs/online/93661_pastedImage_0.png" style="width: 393px; height: 376.784px;" width="393" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Oct 2015 10:18:38 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/How-can-I-import-data/m-p/357172#M139784</guid>
      <dc:creator>Werner_E</dc:creator>
      <dc:date>2015-10-26T10:18:38Z</dc:date>
    </item>
    <item>
      <title>Re: How can I import data ?</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/How-can-I-import-data/m-p/357173#M139785</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;jinsuk Lee wrote:&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;First, Thank you for your consideration.&lt;/P&gt;
&lt;P&gt;I use Mathcad-prime.&lt;/P&gt;
&lt;P&gt;I attached my file.&lt;/P&gt;
&lt;P&gt;thak you for my reading question&lt;/P&gt;

&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;No problem.&amp;nbsp; I think the attached may do what you want.&amp;nbsp; It shows a couple of ways of doing it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The first approach takes up a bit more memory (which isn't even worth considering such a small amount of data - it might be if you want to play with megabytes of data) but has the advantage of only reading the data in once, resulting in quicker evaluation within Mathcad and giving you more flexibility if you want to look at the performance data in parallel. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The second approach has the advantage of reading in just the data you want for the give Reynolds number and allows you to specify more directly which rows and columns you want (as opposed to working out the column and row numbers).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stuart&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-1" src="https://community.ptc.com/legacyfs/online/93649_pastedImage_1.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Oct 2015 10:30:17 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/How-can-I-import-data/m-p/357173#M139785</guid>
      <dc:creator>StuartBruff</dc:creator>
      <dc:date>2015-10-26T10:30:17Z</dc:date>
    </item>
    <item>
      <title>Re: How can I import data ?</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/How-can-I-import-data/m-p/357174#M139786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much.&lt;/P&gt;&lt;P&gt;I will study that you write answer and I will apply to my work to import considering Reynolds.&lt;/P&gt;&lt;P&gt;Again. Very thank you much.&lt;/P&gt;&lt;P&gt;I felt very &lt;SPAN class="hps alt-edited"&gt;Gratitude.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps alt-edited"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Oct 2015 04:27:44 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/How-can-I-import-data/m-p/357174#M139786</guid>
      <dc:creator>jlee-2</dc:creator>
      <dc:date>2015-10-27T04:27:44Z</dc:date>
    </item>
    <item>
      <title>Re: How can I import data ?</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/How-can-I-import-data/m-p/357175#M139787</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I will talk with you to say "thank you"&lt;/P&gt;&lt;P&gt;your aid is also great.&lt;/P&gt;&lt;P&gt;Again, Thank you very much&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Oct 2015 04:29:44 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/How-can-I-import-data/m-p/357175#M139787</guid>
      <dc:creator>jlee-2</dc:creator>
      <dc:date>2015-10-27T04:29:44Z</dc:date>
    </item>
  </channel>
</rss>

