<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Matlab</title>
	<atom:link href="http://www.colincaprani.com/programming/matlab/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.colincaprani.com</link>
	<description>Structural Engineering, Bridge Research, Programming, and more...</description>
	<lastBuildDate>Tue, 31 Jan 2012 20:57:43 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
	<item>
		<title>By: Pierrot</title>
		<link>http://www.colincaprani.com/programming/matlab/comment-page-1/#comment-17067</link>
		<dc:creator>Pierrot</dc:creator>
		<pubDate>Wed, 30 Nov 2011 16:27:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.colincaprani.com/?page_id=15#comment-17067</guid>
		<description>Sebastian,
a partial triangular ascending load is included in the c++ application, just use a negative value for the load length.
Kind Regards,
Pierrot</description>
		<content:encoded><![CDATA[<p>Sebastian,<br />
a partial triangular ascending load is included in the c++ application, just use a negative value for the load length.<br />
Kind Regards,<br />
Pierrot</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Admin</title>
		<link>http://www.colincaprani.com/programming/matlab/comment-page-1/#comment-15471</link>
		<dc:creator>Admin</dc:creator>
		<pubDate>Tue, 20 Sep 2011 17:32:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.colincaprani.com/?page_id=15#comment-15471</guid>
		<description>Sebastian,
Your English is very good! I did not include the ability to apply this form of load in the program. Pierrot has included the ascending type only. You can try to include the load in either the Matlab or C++ version yourself if you know programming and the theory (and if you can follow the code). Otherwise you could try a freeware program like LinPro (&lt;a href=&quot;http://www.line.co.ba/&quot; rel=&quot;nofollow&quot;&gt;www.line.co.ba&lt;/a&gt;) which is really good and easy to use.
Hope that helps,
Colin</description>
		<content:encoded><![CDATA[<p>Sebastian,<br />
Your English is very good! I did not include the ability to apply this form of load in the program. Pierrot has included the ascending type only. You can try to include the load in either the Matlab or C++ version yourself if you know programming and the theory (and if you can follow the code). Otherwise you could try a freeware program like LinPro (<a href="http://www.line.co.ba/" rel="nofollow">http://www.line.co.ba</a>) which is really good and easy to use.<br />
Hope that helps,<br />
Colin</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sebastian</title>
		<link>http://www.colincaprani.com/programming/matlab/comment-page-1/#comment-15470</link>
		<dc:creator>Sebastian</dc:creator>
		<pubDate>Tue, 20 Sep 2011 16:26:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.colincaprani.com/?page_id=15#comment-15470</guid>
		<description>Hi, 
Thanks for your useful site and to share all with us.
I have a quiestion. My english is not the best, I hope that you understand me!
How can I put a partial triangular ascending load? I&#039;m trying in your Matlab program and in the c++ aplication made by Pierrot. In the Matlab program I don&#039;t know how to put that kind of load (triangular load), and in the c++ aplication, I can put a partial triangular descending load, but not the ascending load. 
Thanks a lot!
Sebastian</description>
		<content:encoded><![CDATA[<p>Hi,<br />
Thanks for your useful site and to share all with us.<br />
I have a quiestion. My english is not the best, I hope that you understand me!<br />
How can I put a partial triangular ascending load? I&#8217;m trying in your Matlab program and in the c++ aplication made by Pierrot. In the Matlab program I don&#8217;t know how to put that kind of load (triangular load), and in the c++ aplication, I can put a partial triangular descending load, but not the ascending load.<br />
Thanks a lot!<br />
Sebastian</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave</title>
		<link>http://www.colincaprani.com/programming/matlab/comment-page-1/#comment-10972</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Sun, 23 Jan 2011 16:09:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.colincaprani.com/?page_id=15#comment-10972</guid>
		<description>Dear Collin
Thanks a lot for that quick answer. You know, I&#039;m just a, let&#039;s say, «normal» engineer. I was looking around to find some Information about how to programm something like cba. (And found your page coming from sourceforge.net.) We&#039;re planning a lot of excavations. A state of the art static-software ist normally like shooting with tanks on sparrows for the calculations we need. 
So, I was just doing some checks to see, if your code would do, what I expected, and found the result above.

Thanks a lot, that was very helpful. I&#039;m gonna try, if/how I can use it for my daily work.

Yours, dave</description>
		<content:encoded><![CDATA[<p>Dear Collin<br />
Thanks a lot for that quick answer. You know, I&#8217;m just a, let&#8217;s say, «normal» engineer. I was looking around to find some Information about how to programm something like cba. (And found your page coming from sourceforge.net.) We&#8217;re planning a lot of excavations. A state of the art static-software ist normally like shooting with tanks on sparrows for the calculations we need.<br />
So, I was just doing some checks to see, if your code would do, what I expected, and found the result above.</p>
<p>Thanks a lot, that was very helpful. I&#8217;m gonna try, if/how I can use it for my daily work.</p>
<p>Yours, dave</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Admin</title>
		<link>http://www.colincaprani.com/programming/matlab/comment-page-1/#comment-10859</link>
		<dc:creator>Admin</dc:creator>
		<pubDate>Thu, 20 Jan 2011 20:12:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.colincaprani.com/?page_id=15#comment-10859</guid>
		<description>Dave,
Looking into this a bit further, CBA works fine when used as originally intended when it uses one &#039;element&#039; per span. When you removed the central support, you made a single span with two elements. I agree though that this should be possible and so I have a fix that will enable this to be used:

1. in the file mbr_values.m, delete (or comment out) the lines:
d = d + disps(1).*((2/L^3).*x.^3 - (3/L^2).*x.^2 +1);   % end displacements
d = d + disps(3).*((-2/L^3).*x.^3 + (3/L^2).*x.^2);

2. In their place, insert the following:
h = L/npts;
Ri = disps(2);
di = disps(1);
R(2:npts+2) = cumtrapz(M(2:npts+2))*h/(E*I) + Ri;
d(2:npts+2) = cumtrapz(R(2:npts+2))*h + di;

This is using the moment area method to solve for the displacements instead of displacement functions. It will give the same results as previous for single-element spans, but unlike the previous code, will work when more than one element is used to represent a span.

Hopefully you find it helpful.</description>
		<content:encoded><![CDATA[<p>Dave,<br />
Looking into this a bit further, CBA works fine when used as originally intended when it uses one &#8216;element&#8217; per span. When you removed the central support, you made a single span with two elements. I agree though that this should be possible and so I have a fix that will enable this to be used:</p>
<p>1. in the file mbr_values.m, delete (or comment out) the lines:<br />
d = d + disps(1).*((2/L^3).*x.^3 &#8211; (3/L^2).*x.^2 +1);   % end displacements<br />
d = d + disps(3).*((-2/L^3).*x.^3 + (3/L^2).*x.^2);</p>
<p>2. In their place, insert the following:<br />
h = L/npts;<br />
Ri = disps(2);<br />
di = disps(1);<br />
R(2:npts+2) = cumtrapz(M(2:npts+2))*h/(E*I) + Ri;<br />
d(2:npts+2) = cumtrapz(R(2:npts+2))*h + di;</p>
<p>This is using the moment area method to solve for the displacements instead of displacement functions. It will give the same results as previous for single-element spans, but unlike the previous code, will work when more than one element is used to represent a span.</p>
<p>Hopefully you find it helpful.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Admin</title>
		<link>http://www.colincaprani.com/programming/matlab/comment-page-1/#comment-10799</link>
		<dc:creator>Admin</dc:creator>
		<pubDate>Tue, 18 Jan 2011 16:17:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.colincaprani.com/?page_id=15#comment-10799</guid>
		<description>Dave,
Very good spot - I&#039;ve looked into it and the calculation for deflection is definately putting out something that&#039;s not correct! The stiffness calculations are fine (e.g. the d of line 64, CBA.m), put in post processing for deflections along the member there is some error. It&#039;s not jumping off the screen at me so I will have to take more time at it. I&#039;ll post up a fix soon.

Thanks for that!

Colin</description>
		<content:encoded><![CDATA[<p>Dave,<br />
Very good spot &#8211; I&#8217;ve looked into it and the calculation for deflection is definately putting out something that&#8217;s not correct! The stiffness calculations are fine (e.g. the d of line 64, CBA.m), put in post processing for deflections along the member there is some error. It&#8217;s not jumping off the screen at me so I will have to take more time at it. I&#8217;ll post up a fix soon.</p>
<p>Thanks for that!</p>
<p>Colin</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave</title>
		<link>http://www.colincaprani.com/programming/matlab/comment-page-1/#comment-10725</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Sat, 15 Jan 2011 21:19:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.colincaprani.com/?page_id=15#comment-10725</guid>
		<description>Hi
Thanks very much for this nice introduction to matlab and stiffness method. I enjoy it. 

But... If I create a double-span beam, everything looks right. When I kill the middle support by setting 
R = [-1,0,0,0,-1,0]
I&#039;d assume to get a single-span beam. Moments ans Shear-Force are looking okay, but the deflection seems a bit ... uh ... strange.

Looking closely, there seems to be something wrong with the deflection near a support, even the ending supports: there is a change of direction, in which the curve is bent. (Excuse my technical english, please). I&#039;m not sure, if this happens in a «normal single span», too. The change to see it on the deflection-curve is too small.

But, again. Thanks a lot.
~dave</description>
		<content:encoded><![CDATA[<p>Hi<br />
Thanks very much for this nice introduction to matlab and stiffness method. I enjoy it. </p>
<p>But&#8230; If I create a double-span beam, everything looks right. When I kill the middle support by setting<br />
R = [-1,0,0,0,-1,0]<br />
I&#8217;d assume to get a single-span beam. Moments ans Shear-Force are looking okay, but the deflection seems a bit &#8230; uh &#8230; strange.</p>
<p>Looking closely, there seems to be something wrong with the deflection near a support, even the ending supports: there is a change of direction, in which the curve is bent. (Excuse my technical english, please). I&#8217;m not sure, if this happens in a «normal single span», too. The change to see it on the deflection-curve is too small.</p>
<p>But, again. Thanks a lot.<br />
~dave</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: wahyoe</title>
		<link>http://www.colincaprani.com/programming/matlab/comment-page-1/#comment-7305</link>
		<dc:creator>wahyoe</dc:creator>
		<pubDate>Sun, 20 Jun 2010 07:37:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.colincaprani.com/?page_id=15#comment-7305</guid>
		<description>how to use make source</description>
		<content:encoded><![CDATA[<p>how to use make source</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Admin</title>
		<link>http://www.colincaprani.com/programming/matlab/comment-page-1/#comment-7076</link>
		<dc:creator>Admin</dc:creator>
		<pubDate>Wed, 26 May 2010 12:46:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.colincaprani.com/?page_id=15#comment-7076</guid>
		<description>Raim, 
Once you have specified enough boundary conditions to the make the beam stable, it should work fine. If it is a support at only one end then it must be a fixed support (or at least have sufficient spring support stiffnesses to prevent large rigid body motions). Make sure both translation and rotation are prevented as a first step.
Colin</description>
		<content:encoded><![CDATA[<p>Raim,<br />
Once you have specified enough boundary conditions to the make the beam stable, it should work fine. If it is a support at only one end then it must be a fixed support (or at least have sufficient spring support stiffnesses to prevent large rigid body motions). Make sure both translation and rotation are prevented as a first step.<br />
Colin</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Raim</title>
		<link>http://www.colincaprani.com/programming/matlab/comment-page-1/#comment-7072</link>
		<dc:creator>Raim</dc:creator>
		<pubDate>Wed, 26 May 2010 02:50:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.colincaprani.com/?page_id=15#comment-7072</guid>
		<description>Hi, may I know if the CBA function can be used for a beam which has one support only at the end? I have found the function very useful for beams with support at either end, and kudos for that! But please enlighten me on this issue. 

Thank you</description>
		<content:encoded><![CDATA[<p>Hi, may I know if the CBA function can be used for a beam which has one support only at the end? I have found the function very useful for beams with support at either end, and kudos for that! But please enlighten me on this issue. </p>
<p>Thank you</p>
]]></content:encoded>
	</item>
</channel>
</rss>

