<?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: Convergence Error when Solving System of Matrix in Mathcad</title>
    <link>https://www.ptcusercommunity.com/t5/Mathcad/Convergence-Error-when-Solving-System-of-Matrix/m-p/854636#M205065</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;A.c = b. A is a 4x4 matri
&lt;P&gt;&lt;FONT color="headerbuttontrackingcode"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="headerbuttontrackingcode"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="headerbuttontrackingcode"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="headerbuttontrackingcode"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;See my last PM. In your sheet, which you can't post in the public forum, A is not a 4x4 matrix but rather a nested 4x1 matrix consisting of 1x4 matrices which as I suppose should be the rows of the expected 4x4 matrix. Sent you a possible solution in the PM.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 09 Feb 2023 14:28:08 GMT</pubDate>
    <dc:creator>Werner_E</dc:creator>
    <dc:date>2023-02-09T14:28:08Z</dc:date>
    <item>
      <title>Convergence Error when Solving System of Matrix</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Convergence-Error-when-Solving-System-of-Matrix/m-p/854630#M205064</link>
      <description>&lt;P&gt;Dear forum,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Basically, I am trying to analyse the forced vibration of a single span Timoshenko beam on elastic supports at both ends.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to at the end determine the displacement w(f), rotation phi(f), shear force Q(f) and bending moment (f) at the ends of the beam due to a force excitation on one end of the beam. I want a plot of these paramaters over the excitation frequency f = 1Hz., 2Hz, 3 Hz....1000Hz.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To obtain these parameters, I need to solve for a matrix system which looks like this: A.c = b. A is a 4x4 matrix for each frequency, c is a 4x1 vector for each frequency and b is a 4x1 vector for each frequency. So, based on my frequency spacing of 1Hz from 1Hz to 1000Hz, I have 1000 4x4 A matrices in the A(f) matrix, 1000 4x1 matrices in the c(f) vector and 1000 4x1 matrices in the b(f) vector.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried using lsolve to solve the system of equation for the c(f) vector but I keep on having an error message which says that the calculation does not converge to a solution. Initally, I have thought that it was because of the units, so I have created a another calculation sheet without units. Still the same convergence error when using lsolve.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is this a familiar error and how can one get around it?&lt;/P&gt;&lt;P&gt;&lt;FONT color="headerbuttontrackingcode"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="headerbuttontrackingcode"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="headerbuttontrackingcode"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="headerbuttontrackingcode"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Feb 2023 14:23:02 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Convergence-Error-when-Solving-System-of-Matrix/m-p/854630#M205064</guid>
      <dc:creator>jmebara</dc:creator>
      <dc:date>2023-02-09T14:23:02Z</dc:date>
    </item>
    <item>
      <title>Re: Convergence Error when Solving System of Matrix</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Convergence-Error-when-Solving-System-of-Matrix/m-p/854636#M205065</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;A.c = b. A is a 4x4 matri
&lt;P&gt;&lt;FONT color="headerbuttontrackingcode"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="headerbuttontrackingcode"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="headerbuttontrackingcode"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="headerbuttontrackingcode"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;See my last PM. In your sheet, which you can't post in the public forum, A is not a 4x4 matrix but rather a nested 4x1 matrix consisting of 1x4 matrices which as I suppose should be the rows of the expected 4x4 matrix. Sent you a possible solution in the PM.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Feb 2023 14:28:08 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Convergence-Error-when-Solving-System-of-Matrix/m-p/854636#M205065</guid>
      <dc:creator>Werner_E</dc:creator>
      <dc:date>2023-02-09T14:28:08Z</dc:date>
    </item>
    <item>
      <title>Re: Convergence Error when Solving System of Matrix</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Convergence-Error-when-Solving-System-of-Matrix/m-p/854747#M205075</link>
      <description>&lt;P&gt;So basically I had calculations using the row selector and the result was a row (1x4 matrix). It was still a row vector even after I put it in a matrix and so I ended up with a nested matrix.&lt;/P&gt;&lt;P&gt;Using the lsolve function with nested matrix has led to the error. Werner_E has quickly noticed the wrong nested matrix format in my calculation. By using the stack function instead to build the matrix, the nested matrix problem was avoided and I could use the lsolve function without any error messages.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Everything now works like magic. Thanks so much for your quick reply and great help.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Feb 2023 20:58:50 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Convergence-Error-when-Solving-System-of-Matrix/m-p/854747#M205075</guid>
      <dc:creator>jmebara</dc:creator>
      <dc:date>2023-02-09T20:58:50Z</dc:date>
    </item>
  </channel>
</rss>

