I am not able to solve this equation using 'solve' function. Is there any other alternative?
Show older comments
clc;
clear all;
nu_1 = 79.6154*10^9;
nu_2= 38.438*10^9;
syms c % phase velocity(unkown)
c_l1 =5957; %Longitudinal velocity in medium 1
c_t1 = 3184; % Transverse velocity (min) in medium 1
alpha_1 = sqrt(1- (c/c_l1)^2);
beta_1 = sqrt(1- (c/c_t1)^2);
c_l2 = 5928; %Longitudinal velocity in medium 2
c_t2 = 2919 ; % Transverse velocity (min) in medium 2
alpha_2 = sqrt((1- (c^2/c_l2^2)));
beta_2 = sqrt((1- (c^2/c_t2^2)));
g= nu_2/nu_1;
A = [-(1+beta_1^2) -2*beta_1 (1+beta_2^2)*g -2*beta_2*g ;
2*alpha_1 (1+beta_1^2) 2*alpha_2*g -(1+beta_2^2)*g;
1 beta_1 -1 beta_2;
-alpha_1 -1 -alpha_2 1];
polyA = charpoly(A,c);
eqn = (polyA==0); % Not able to solve this polynomial using SOLVE
eigenA = solve(polyA,c);
Accepted Answer
More Answers (0)
Categories
Find more on Polynomials 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!