Timeline for How to calculate the variation of curvature along the horizontal axis
Current License: CC BY-SA 4.0
11 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 18, 2020 at 13:34 | vote | accept | newstudent | ||
Jun 18, 2020 at 13:31 | comment | added | flinty |
Yes of course, just Plot[k[t],{t,0,1}] extending the limits {t,0,1} if necessary.
|
|
Jun 18, 2020 at 13:17 | comment | added | newstudent | thanks. It does work. But is it possible to plot $\kappa$ vs $x$ plot ?As of now I have range for a dummy variable | |
Jun 18, 2020 at 13:06 | comment | added | flinty |
@newstudent Try changing intp = Interpolation[Transpose[{x, y}]] to intp = Interpolation[DeleteDuplicatesBy[Transpose[{x, y}],First]] - that should get rid of duplicate points
|
|
Jun 18, 2020 at 12:44 | comment | added | newstudent | Question updated | |
Jun 17, 2020 at 12:33 | comment | added | flinty | @newstudent please add an update to your question with what you tried. It might help diagnose the issue. | |
Jun 17, 2020 at 7:13 | comment | added | newstudent | No. I get an error The value function is not number from both the approaches. | |
Jun 16, 2020 at 15:48 | comment | added | flinty | Did this solve your problem? | |
Jun 16, 2020 at 14:10 | comment | added | flinty |
No, you need to interpolate the data first. In your case: intp = Interpolate[Transpose[{x, y}]] or just replace data at the top of my code with Transpose[{x, y}]
|
|
Jun 16, 2020 at 14:05 | comment | added | newstudent | as In order to import the data ..I do ArcCurvature[x, y] /. y -> t ? | |
Jun 16, 2020 at 13:51 | history | answered | flinty | CC BY-SA 4.0 |