how con I find multiple root? in function like sin(x)?

2 views (last 30 days)
I want to make matrix of root
for example
syms x
eq(x) = sin(x) ==0;
I want to make matrix 'A' that include roots of sin(x)=0
like
A = [0, pi, 2*pi, 3*pi ..... 100*pi]
  3 Comments
kukhyun park
kukhyun park on 13 Jun 2019
thank you for answer my question
but absolutely i want to make matrix that include root of other function. not sin(x)
that function is
eq_1 = 1 + (cos(x))*(cosh(x)) + ((x*M_t*(((cos(x))*(sinh(x))) - ((sin(x))*cosh(x))))/(m*L)) - ((((x)^3)*I_t*(((cosh(x))*(sin(x)) + ((sinh(x))*(cos(x))))))/(m*(L^3))) + (x^4)*M_t*I_t*(1 - (cos(x))*(cosh(x)))/((m^2)*(L^4));
I want to make matrix that include 100 of roots bigger than 0

Sign in to comment.

Answers (0)

Categories

Find more on Spline Postprocessing in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!