e = eig(K_tilde_New)% gives my eigenvalues where none are imaginary w_new = sqrt(e)% gives the value of the frequencies +/- 댓글을 달려면 로그인하십시오. 답변 (0개) FEATURED DISCUSSIO
Bruce 2014년 11월 11일 Yes, I am not able to solve the problem still. I am changing the code a bit. Relieved to know my Matlab is proper. Thanks for the help. If at all there is any error you find in the code, please let me know.댓...
Open in MATLAB Online Ran in: x=linspace(-20,20); y= sin(x)./x; y1 = (10*log(y)); plot(x,y1,'-') Warning: Imaginary parts of complex X and/or Y arguments ignored. This is currrently the code i have running but not getting the resulting sin x/x plot, but more ...
Open in MATLAB Online Sample of code in question: %% Inputs InputAngle = 4; Wavelength = 0.65; z = 10100; FiberCoreRadius = 100; %% Window r = 0:10:10000; %% Dependents k = 2*pi/Wavelength; AngleRad= InputAngle/180*pi; w0 = FiberCoreRadius*0.67;% Assuming fiber is long...
Help plotting linear systemI tried to run it lots of times, but it threw errors because it doesn't have values for C1,C2,C3,C4,R12,R23, etc. Please supply those. Since I can't run it, it looks like you're trying to plot a 2D array after the loop with the expired loop iterator...
imaginary number worksheet free visual basic source code partial differential equation download ks2 maths probability Completing the Square for Function with a fraction pyramids-problems solving inequalties with rational numbers practice elementary algerbra problems merrill physics principles and prob...
Plotting a parametric surfaceThat isn't a parabolic surface, it is one branch of a hyperbola of revolution. The two points (X1,Y1,Z1) and (X2,Y2,Z2) are the two focal points and the axis of revolution lies along the line between them.The kind of plot to use is going to depend ...
Open in MATLAB Online M = [11 0 0 0 0 0 0; 0 18 0 0 0 0 0; 0 0 17 0 0 0 0; 0 0 0 17 0 0 0; 0 0 0 0 13 0 0; 0 0 0 0 0 10 0; 0 0 0 0 0 0 12] K = 108; % altering stiffness so system will become stable % K value that makes system stable = ...
MATLAB Online에서 열기 Hi, The value of z is a complex value, so provide x and y values in z accordingly and provide the variable to function >>x = 1:10;%real part of z. >>y = 11:20;%imaginary part of z >>z = x+i*y;%compl...
So i assume it's due to force plotting of meshgrid. Since surf() can't plot complex numbers, i use real(Y1) and real(Y2) instead. Graph came out like in pic1. Next i made the imaginary numbers to Nan and it become like in pic 2. So there is a missing region in the center ...