Question


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...

8 years ago | 1 answer | 0

1

answer

Question


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...

8 years ago | 1 answer | 0

1

answer

Question


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...

8 years ago | 1 answer | 0

1

answer

Question


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. ...

8 years ago | 1 answer | 0

1

answer

Question


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 years ago | 0 answers | 0

0

answers

Question


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 years ago | 2 answers | 0

2

answers

Question


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 years ago | 0 answers | 0

0

answers

Question


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

1

answer

Question


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

1

answer

Question


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 years ago | 0 answers | 0

0

answers

Question


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 years ago | 0 answers | 0

0

answers

Question


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

1

answer

Question


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 years ago | 5 answers | 1

5

answers

Question


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 years ago | 2 answers | 0

2

answers

Question


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 years ago | 3 answers | 0

3

answers

Question


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 years ago | 2 answers | 6

2

answers

Question


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

1

answer

Question


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...

9 years ago | 0 answers | 0

0

answers