Clear Filters
Clear Filters

Info

This question is closed. Reopen it to edit or answer.

help with numerical integration

1 view (last 30 days)
andrea84
andrea84 on 23 Jan 2013
Closed: MATLAB Answer Bot on 20 Aug 2021
I have the x and y coordinate of the points belonging to a curve and I am not able to figure out how to solve this two integrals:
\int\limits_0^{s_1} ty \, ds_1
and
\int\limits_0^{s_1} tx \, ds_1
Note: t in a known scalar, the two integrals are written in latex code to avoid misunderstanding
  2 Comments
Roger Stafford
Roger Stafford on 23 Jan 2013
Please define the "ds_1" variable - or is it just "ds"? Do you mean arc-length?
andrea84
andrea84 on 24 Jan 2013
You are right, ds_1 can be replaced by d_s.
For example if x=linspace(0,2,100) and y=zeros(size(x)) you will get:
0<=s<=2

Answers (0)

This question is closed.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!