how con I find multiple root? in function like sin(x)?
显示 更早的评论
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 个评论
Alex Mcaulley
2019-6-13
x = 0:pi:100*pi;
someRoots = fsolve(@sin,x);
kukhyun park
2019-6-13
Alex Mcaulley
2019-6-13
Take a look to this, maybe it solves your issue:
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Symbolic Math Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!