Domanda


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

oltre 7 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 7 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 8 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 8 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 8 anni fa | 0 risposte | 0

0

risposte

Domanda


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

circa 8 anni fa | 2 risposte | 0

2

risposte

Domanda


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

circa 8 anni fa | 0 risposte | 0

0

risposte

Domanda


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

circa 8 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 8 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 8 anni fa | 0 risposte | 0

0

risposte

Domanda


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

circa 8 anni fa | 0 risposte | 0

0

risposte

Domanda


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

circa 8 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 8 anni fa | 5 risposte | 1

5

risposte

Domanda


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

circa 8 anni fa | 2 risposte | 0

2

risposte

Domanda


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

circa 8 anni fa | 3 risposte | 0

3

risposte

Domanda


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

oltre 8 anni fa | 2 risposte | 6

2

risposte

Domanda


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

oltre 8 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 8 anni fa | 0 risposte | 0

0

risposte