write a vector with 3 values inside a loop
1 次查看(过去 30 天)
显示 更早的评论
Hi everyone,
I have a code and I'm looking to find z in which real values of y-1=0. Here eigA find eigenvalues of $3x3$ matrix hence y(:,k) has 3 values for each k. My question is how can I find the zeros z and I have 3 values for each k?
X = 2*pi; %not the whole code
N = 10;
n = 3;
z = linspace(0.475,0.495,100);
y = z;
for k = 1:length(z)
y(:,k) = eigA(z(k),X,N,n)
end
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Logical 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!