Solve through an array
12 views (last 30 days)
Show older comments
I have an array of 4 different values that I am trying to put in an equation and solve for that variable for each value, which would create another array of my 4 values of the solutions. How can I do this, here is what I have so far.
%USING EQUATIONS TO FIND DAMPENED NATURAL FREQUENCY
n=4;
d=(1/n)*log(rdivide(yn,ynplusone));
syms t
zeta=d==((2*3.14159*t)/(sqrt(1-(t.^2))))
solx=solve(zeta,t)
d is my 1 x 4 array and I need solx to also be a 1 x 4 array with the solutions to the equation zeta.
0 Comments
Accepted Answer
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!