# Using Matrix properities in ror

**URL:** <https://www.ruby-forum.com/t/using-matrix-properities-in-ror/113356>\
**Category:** Rails\
**Created:** [August 30, 2007, 10:28am UTC](https://www.ruby-forum.com/t/using-matrix-properities-in-ror/113356 "2007-08-30T10:28:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![advait](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/e19adc/32.png) [@advait](https://www.ruby-forum.com/u/advait)\
**Post date:** [August 30, 2007, 10:28am UTC](https://www.ruby-forum.com/t/using-matrix-properities-in-ror/113356/1 "2007-08-30T10:28:58Z")

</div>

Hi,

I need to know how to make use of matrix in my ruby on rails application  
as I am clearly clueless.  
Let me give you an example to understand it better.

If I have a 2x4 matrix how would I carry out the functionality of adding  
two neighboring cell values .

Evin more important how would I be able to UPDATE THE MATRIX DYNAMICALLY  
to then  
…  
perform the above functionality.

Thank You
