Hi Phys, I wanted to ask you how I can obtain the displacement magnitude starting from a measurement of the acceleration using scilab. I'll explain, in short, my system, using accelerometer sensors, measures the acceleration in the time and frequency domain, obtaining time histories, but then I have to derive the displacement magnitude as a function of time. I would like to be able to do it scilab and also represent it graphically.
For that you'll need mathematical expression parser, which is not so easy. I'm not sure if the newer versions of Scilab have such features or not. If it's not in-built then it can be quite tough and take a lot of time. You can look for something such as a lexical parser or something.
Hello, I watched your videos and I'm having some trouble so please help me out! Its a double integral, its for a rectangle so it does not matter which one I choose to do first (dx or dy) here is the function : x cos y + y sen x. and the limits are : x= 7- 1 ; y= 14 - 2 also I need to divide the rectangle in 10000 (divide the sides on 100 parts each)
Hey, Sorry for such a late reply. I don't think I understand your problem completely to be able to answer it. It can be done if you evaluate the integrals of any of the variables first and then substitute those values in the function and then evaluate the integral with respect to the other variable. I don't understand what you mean by dividing the rectangle into parts. Also are x and y supposed to be in radians or degrees?
hi do you know if i want to find out the upper limit while i have the ans, how am i supposed to type?
Can you help me some more code to plot that function in your video please. Tks very much
Hi Phys, I wanted to ask you how I can obtain the displacement magnitude starting from a measurement of the acceleration using scilab.
I'll explain, in short, my system, using accelerometer sensors, measures the acceleration in the time and frequency domain, obtaining time histories, but then I have to derive the displacement magnitude as a function of time.
I would like to be able to do it scilab and also represent it graphically.
How to use Dirac delta function in scilab..?? Make a vdo on it
Suppose limits are from zero to infinity for the exponential function...then how to write infinity as final limits in scilab?
hi!!! how can I make in Scilab that the user introduce a function that then will be integrated
For that you'll need mathematical expression parser, which is not so easy. I'm not sure if the newer versions of Scilab have such features or not. If it's not in-built then it can be quite tough and take a lot of time. You can look for something such as a lexical parser or something.
integrate('sin(x)',x,0,2*pi)
OR
intg(0,2*pi,f) where you have to define your function of sin(x)
Hello, I watched your videos and I'm having some trouble so please help me out!
Its a double integral, its for a rectangle so it does not matter which one I choose to do first (dx or dy)
here is the function : x cos y + y sen x.
and the limits are : x= 7- 1 ;
y= 14 - 2
also I need to divide the rectangle in 10000 (divide the sides on 100 parts each)
Hey,
Sorry for such a late reply. I don't think I understand your problem completely to be able to answer it.
It can be done if you evaluate the integrals of any of the variables first and then substitute those values in the function and then evaluate the integral with respect to the other variable.
I don't understand what you mean by dividing the rectangle into parts.
Also are x and y supposed to be in radians or degrees?
Please type a script in scilab for integrtion of r*d(r)*d(z)*d(theta) ,limits_ 1 to √(4-z^2),0 to √3,0 to 2π
respectively
Thanks