ZAHID MALIK
Followers: 0 Following: 0
Feeds
提问
Plotting eigenvalues of a 4*4 matrix: In an assignment A(I) = B, the number of elements in B and I must be the same.
p=1; for k=0.1:.1:3 A=[0 0 0 exp(-i*k);exp(i*k) 0 0 0;0 exp(i*k) 0 0;0 0 exp(i*k) 0]; C=eig(A); x(p)=k; y(p)=C; p=p+1...
1 year 前 | 1 个回答 | 0
1
个回答提问
Mesh plot, not able to match size of Z and X
t=0.2; p=1; for kx = -3:.1:3 q=1; for ky = -3:.1:3 energy_ary(p,q)= -2*t*(cos(kx)+cos(ky)); y_ary(p,q)= ky; ...
1 year 前 | 1 个回答 | 0
1
个回答提问
Hiii all, i am trying to minimize my problem n want to get the plot...program is getting minimized but plot is not coming... m sending program also n the expected plot image also....plzzz plzzz plzzz do help
clear ; clc syms beeta n alpha=1; t=0.2; w0=1; N=3; p=1; M=@(beeta)(1+(beeta)^2+((beeta))./4+((b...
7 years 前 | 1 个回答 | 0
1
个回答提问
hi all, is it possible to put more then two tasks in options?? like i want three "options = optimset('MaxFunEvals',50000,'MaxIter',30000',MaxFunInterval',1020');"...but its showing error.... do i need to use another options for third one????
hi all, is it possible to put more then two tasks in options?? like i want three "options = optimset('MaxFunEvals',50000,'MaxIte...
7 years 前 | 1 个回答 | 0