Community Profile

photo

ZAHID MALIK


Last seen: 12 months ago Active since 2017

Followers: 0   Following: 0

Statistics

  • Thankful Level 1

View badges

Feeds

View by

Question


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 ago | 1 answer | 0

1

answer

Question


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 ago | 1 answer | 0

1

answer

1

answer

Question


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 ago | 1 answer | 0

1

answer