질문


Absolute value of a 3-D complex vector
Hi everybody, Could you please help? I have a vector H which has 3 components in 3-D: H_x, H_y, H_z which are all complex numb...

대략 7년 전 | 답변 수: 1 | 0

1

답변

질문


Plot magnetic field distribution
Dear everybody, The figure in this question is basically a cross-section of a 3-D configuration. The y and z axis represent the...

대략 7년 전 | 답변 수: 1 | 0

1

답변

질문


numerical problem in integral
Dear all, I have a problem with numerical integral. Basically, the upper bound of this integral should be Inf. However, if I cho...

7년 초과 전 | 답변 수: 1 | 0

1

답변

질문


plot a graph in matlab
<</matlabcentral/answers/uploaded_files/58637/f8.png>> Dear everyone, Do you know how to plot this kind of graph in Matlab. ...

7년 초과 전 | 답변 수: 1 | 0

1

답변

질문


how to solve system of equation
Hi, I got this problem but it's not similar to linsolve. syms x y a=rand; b=rand; c=rand; d=rand; e=rand; ...

거의 8년 전 | 답변 수: 0 | 0

0

답변

질문


How to change a certain value color in pcolor
Dear all, I got an random matrix 1000-by-1000,varying from 1 to 10. I am using pcolor as below: A=randi(10,1000) figure...

거의 8년 전 | 답변 수: 2 | 0

2

답변

질문


How to plot 2 x-axis with pcolor and colormap
Dear all, I have troubles with plotting 2 x-axis with colormap. It seems like the first axis size will change with the function...

거의 8년 전 | 답변 수: 0 | 0

0

답변

질문


How to change the curves to same colour when using hold on
Dear all, I am using a for-loop and hold on to plot a graph. As usual, Matlab automatically change the colour of legends but I ...

거의 8년 전 | 답변 수: 1 | 0

1

답변

질문


3-D surface plot with an array
Dear all, I have a matrix A=[n,3] which A(n,1) is the x-coordinate, A(n,2) is the y-coordinate, A(n,3) is the mag...

거의 8년 전 | 답변 수: 1 | 0

1

답변

질문


create hexagonal grid with a central cell
Dear all, I want to create a n-tier hexagonal grid with a central cell. Could you please help. Best regards

거의 8년 전 | 답변 수: 0 | 0

0

답변

질문


how to assign value to a point in a hexagonal coordinator system
Hi, I got xv,yv which are the vector positions of the points. I want to assign the value I_hex to these corresponding positions ...

거의 8년 전 | 답변 수: 0 | 0

0

답변

질문


create an array with general rules
Dear all, I am struggling with Matlab, please help me. I want to create an array with some certain rules. Suppose I have an ar...

거의 8년 전 | 답변 수: 1 | 0

1

답변

질문


flip half of matrix over the diagonal to make a symmetric matrix
Dear all, If I have a half of a matrix, e.g 1 2 3 4 5 6 7 8 9 10 ... I want to flip it over the diagonal to make ...

거의 8년 전 | 답변 수: 5 | 1

5

답변

질문


matrix with general rule
Dear all, I have the code below: m=6; M=21; Z_matrix=zeros(M+2,M+2); A=1; B=2; for i=1:1:m for j=1:1...

거의 8년 전 | 답변 수: 2 | 0

2

답변

질문


How to use if-then with matrix indices
Hi, I got a matrix n by n of a symbolic value a. And I want to change the value of a based on the matrix indices. syms a ...

거의 8년 전 | 답변 수: 3 | 0

3

답변

질문


how to write a fraction in xlabel.
dear all, I want to write a fraction a over b in the xlabel. How to do that? thanks if true % figure (1) fig =figure(...

대략 8년 전 | 답변 수: 2 | 6

2

답변

질문


inverse Fourier transform of a signal
Hello all, I got a real signal from network analyzer and this network analyzer can transform the signal for me. However, when I...

대략 8년 전 | 답변 수: 1 | 0

1

답변

질문


lsqcurvefit for complex numbers
Dear all, I wrote the file fitting.m using the lsqcurvefit function but it seems to not work. I have no idea why it doesn't wo...

대략 8년 전 | 답변 수: 0 | 0

0

답변