FocusCanada Forums

Full Version: Help Please!
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey guys,

I need help writing some Matlab scripts to find the root mean square displacement from my values. I've checked out the help function available in Matlab, and it's not helping me much!

Basically, I have two columns of 6000 numbers, from which I need to compute a separate RMS function from each.

Do any of you know the programming language to help me do this?

Thanks!
:1engrishsign: :blush:
Forgive her, she forgets where she is sometimes and that is on the left side of the "bell curve" (at least I know she is doing statistics ;) , can't help with any sort of programming though).






do you have the full matlab help book, not the programs, and what version are you using? How do you have the numbers organized?
Holy smokes.. you made my brain ache.
Chica i feel bad for you, i spent many years in college trying to figure that damn program out. I hate to say it, but i never did. But i'm only a lowly college kid maybe a university grad will be of more help.
Blackzx3,Apr 10 2007, 04:18 PM Wrote:do you have the full matlab help book, not the programs, and what version are you using? How do you have the numbers organized?
[right][snapback]234120[/snapback][/right]


Okay, so here is where I am at.
Basically, I was measuring forces under both feet for 30 secs at a sampling rate of 200Hz, so I have 6000 data points.
For each foot, I have an z,y and z component.
I ran a really funky script that added them together (to get a net value of the proportion from each foot), etc., so now I am left with two columns (x and y) of 6000 data points.

Originally, I took the standard deviation of the data, but I have recently had this stupid idea (yeah it's stupid, it involves too much work!!) to take the root mean squared of each of the remaining x and y values.

I attempted using the Matlab help book, but it's WAY beyond me. I've tried googling the answer, haven't been too successful there either.

I'm working with Matlab 7

Basically, my thesis supervisor could do it in a nanosecond... but he wants me to learn... and I am completly script programming illeterate.... sooooo... if you know of anyway of helping me, please let me know!
2001 ZTS,Apr 10 2007, 04:15 PM Wrote:Forgive her, she forgets where she is sometimes and that is on the left side of the "bell curve" (at least I know she is doing statistics  ;) , can't help with any sort of programming though).
[right][snapback]234119[/snapback][/right]


the left side? And what is THAT supposed to mean?? ;)
ZX5chica,Apr 10 2007, 06:01 PM Wrote:the left side? And what is THAT supposed to mean?? ;)
[right][snapback]234137[/snapback][/right]

Nevermind, maybe you have come to the right place afterall.

I too was once a gifted student but one day I fell off the Jungle Gym and woke up here. I think 7 is a colour and people who don't like minority governments are racist. :huh:
I can look into it for you but honestly, I havent looked into Matlab since 2002. Uninversity engineering was quite a time ago for me. I have version 7 so I will look into it.
2001 ZTS,Apr 10 2007, 09:15 PM Wrote:Forgive her, she forgets where she is sometimes and that is on the left side of the "bell curve" (at least I know she is doing statistics  ;) , can't help with any sort of programming though).
[right][snapback]234119[/snapback][/right]

Thats pretty good. gotta love the bell curve :lol:
Is that like a torque curve at all? I'd probably try to straighten the bugger out :P

I used to mess with a few sci modelling programs and Monte Carlo simulators and whatnot (risk management, prediction, etc) in my spare time. I had buddies in the distributed computing field for molecular sciences mention MatLab once or twice... I'll try to track them down.
NOS2Go4Me,Apr 11 2007, 09:21 PM Wrote:I had buddies in the distributed computing field for molecular sciences mention MatLab once or twice... I'll try to track them down.
[right][snapback]234319[/snapback][/right]


Thanks a bunch!