Hi everyone,
My intention is to find the roots of a cubic function. My only problem is that each coefficient is a vector array (1×30). Also, I want to take only the positive roots (and bigger than 0.1) so that in the end also the resulting roots vector has a dimension of 1×30. How can I do that? I have tried by making a loop but there is still something wrong.
Best Answer