photo

Shan Chu


Last seen: 4 years ago Active since 2016

Followers: 0   Following: 0

Statistics

  • Thankful Level 4

View badges

Feeds

View by

Question


is it possible to have a periodic colorbar
Hi, I would like to ask whether it is possible to have a periodic colorbar? For example: I use Jet for a colorbar X from [1 10...

4 years ago | 1 answer | 0

1

answer

Question


How to make one colorbar for a 2x2 subplot
Hi all, I would like to insert one colorbar into a 2x2 subplot. I have read the answer in this thread https://uk.mathworks.com/...

5 years ago | 1 answer | 0

1

answer

Question


How to make one Colorbar for a 2x2 subplot
Hi everyone, I would like to make one Colorbar for a 2x2 subplot on right hand side. I have read the answer of a similar questi...

5 years ago | 1 answer | 0

1

answer

Question


How to make one Colorbar for a 2x2 subplot
Hi everyone, I would like to make one Colorbar for a 2x2 subplot on right hand side. I have read the answer of a similar questi...

5 years ago | 0 answers | 0

0

answers

Question


assign empty vector to an element of a vector in a for loop
Hi everyone, I created a 'for' loop with 'solve' for i0=1:1:length(sig) syms r r0(i0)=double(solve(function_of_r,r))...

5 years ago | 1 answer | 0

1

answer

Question


error using Solve with inequality
Hi all, I am facing a strange problem with using Solve with inequality. Could you please help? Thanks

5 years ago | 1 answer | 0

1

answer

Question


Increasing number of interpolating color in patch
Hi all, I have created a patch with the color varying between two random colors. However, I would like to increase the number o...

5 years ago | 0 answers | 0

0

answers

Question


how to plot shading background color and shading marker face color
Hi all, By chance I saw this picture. The background color is not monocolor as well as the marker face color. I know how to ch...

5 years ago | 1 answer | 0

1

answer

Question


code for color matlab
Hi all, I am reading a paper and very impressive with the color that the authors used in the graphs. So I would like to ask ho...

5 years ago | 1 answer | 0

1

answer

Question


Fill the region between two lines
Hello all, I plot two functions and then I want to fill the region between them in red (for example). Could you please suggest...

6 years ago | 2 answers | 0

2

answers

Question


Plot matrix as scatter points with colorbar
Dear all I have a vector 1-by-N x, a vector 1-by-M y, and a matrix N-by-M z (complex). So how could I plot the matrix Z as...

6 years ago | 1 answer | 0

1

answer

Question


Open figure and work on that figure
Dear all, I would like to ask it is a way to work on a saved figure. For example, add more line plots and also change the a...

6 years ago | 0 answers | 0

0

answers

Question


Order of roots obtained from function roots
Dear all, I have a funny problem. I have a third-degree polynomial f(s1) which depends on a variable 'm'. When I vary 'm', a...

6 years ago | 1 answer | 1

1

answer

Question


fsolve no solution found
Dear all, I have a system of non-linear equations that needs to be solved. I have read some articles from Matlab to improve the...

6 years ago | 1 answer | 0

1

answer

Question


Polarplot with negative theta display
Hi everyone, I have used the polarplot function in Matlab. The theta axis by default will be from 0 to 360 degree. But I would ...

6 years ago | 1 answer | 0

1

answer

Question


Load text file with open braket ( )
Dear all, I have a txt file in the format like: (70.0362+32052.7j) (-1.16529e-12+29239.2j) (-1.42109e-13+26859.3j) ...

6 years ago | 2 answers | 0

2

answers

Question


How to calculate matrices with matrices inside
Dear all, I would like to calculate the equation (3) in the attached figure. But since all matrices in eq. (3) contain some mat...

6 years ago | 0 answers | 0

0

answers

Question


matrix dimension problem with integral
Dear all, I have devloped this code and don't think there is any problem with is. However, Matlab returned an error on the ma...

7 years ago | 1 answer | 0

1

answer

Question


Singularity problem in integral3
Dear all, I had an integral3 however, Matlab returned NaN and this warning: 'Non-finite result. The integration was unsuccess...

7 years ago | 0 answers | 0

0

answers

Question


How to calculate 5 times integral
Dear all, I have a problem with a big integral which contains other 4 integrals inside. I have no idea how to do it. Could you ...

7 years ago | 1 answer | 0

1

answer

Question


Double integral with one integral having limits as a function of other variable
Dear all, I have the problem below: l1=3e-3; l2=4e-3; r1=11e-3; r2=12e-3; fun_Z0=@(x) x^(-5)* A^2 *((l2-l1)+(exp(-...

7 years ago | 2 answers | 0

2

answers

Question


How to write an overline notation in ylabel
Hi, I would like to write an overline notation above a variable in y label. My code doesn't work at all. Could you please sugge...

7 years ago | 1 answer | 0

1

answer

Question


Best curve fitting for measured data
Hi, I have a set of measured data and a function 1/ (1+((x-x0)/a)^2) where x0 is a constant and x is variable. a is the fitting...

7 years ago | 1 answer | 0

1

answer

Question


How to calculate the difference between two sets of data
Hi everyone, I have a problem about calculating the difference (error) between two sets of data. I am a rookie in statistics so...

7 years ago | 0 answers | 0

0

answers

Question


Interpolation 1-D
Hi, I have a set of measured data s21_ef_d (i have included the mat file) Then I want to interpolate the 3dB cut off value but...

7 years ago | 1 answer | 0

1

answer

Question


qickyly change 3D matrix to 2D matrix
Hi, This might be such a silly question but could anyone please help? I get a 3D matrix A(n,m,k) so I want to take the value a...

8 years ago | 2 answers | 0

2

answers

Question


Integrating 2 symbolic functions w.r.t. a single variable
Hi, I would like to know if there is a way to integrate a multiplication of 2 symbolic functions with respect to a single varia...

8 years ago | 1 answer | 0

1

answer

Question


Plot 2-D vector field with arrow3
Hi, I would like to use the arrow3 function (https://uk.mathworks.com/matlabcentral/fileexchange/14056-arrow3-version-5) to plo...

8 years ago | 0 answers | 0

0

answers

Question


Matlab Numerical integral improvement
Hi, I have the integral below: F_A_I=@(x) besselj(1,x.*3.5).*besselj(1,x.*0.5); A=integral(F_A_I,0,Inf,'RelTol',1e-6,'A...

8 years ago | 1 answer | 0

1

answer

Question


Change the color of streamslice
Dear all, I am using the streamslice to plot the Poynting vector but the default color of MATLAB is blue and I don't really lik...

8 years ago | 2 answers | 0

2

answers

Load more