solving an equation with variable interval

there is the following code:
for j = 1:100
solve(0.35*tan(x(j))+x(j));
end
where
x(j)'s are the roots of the equation.
the interval is variable:
(-pi/2)+j*pi < x(j) < (-pi/2)+(j+1)*pi
i want, the above loop gives me a x(j) per each step in one of the above intervals respectively.
how can i do that?
thank you

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeNumerical Integration and Differential Equations についてさらに検索

タグ

質問済み:

2013 年 3 月 14 日

Community Treasure Hunt

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

Start Hunting!

Translated by