figureclear; clc;v = 1.0;n=[0.00 0.10 0.12 0.18];u = linspace(0,2);%%
for i = 1:length(n) sigma = ((1i.*u-1-v.^2)./(v.^2-u.^2 +1-2i.*u)).*(1./(v.^2 +1)); sigmapri = n*((1i.*u-1-v.^2)./((1+n).^2 +v.^2).*(v.^2-u.^2 +1-2i.*u)).*(1-(v./(v.^2 +1))); w = sigma + sigmapri; plot(u, real(w))end%%xlabel('\omega*\tau')ylabel('\sigma(\omega)/\sigma_o')
MATLAB: How to correct matrix dimension disagree error
matrix dimension must agree
Related Question
- How can i use legend command when i am using hold on for plotting graphs? in the plot i want to use legend command to indicate the color for respective plot that is black for low pass,blue for high pass,green for power complementary,red for all pas
- Help on entering velocity formula
- Matlab graphs not showing
Best Answer