Question

questions about 2D chirped Z-transform (CZT)

Dear Community, I have a 2D image in K-space and need to transform back to Cartesian coordinate. But When I use the 2D...

1 jour ago | 0 answers | 0

Question

Why the coordinate doesn't make sense after rotation matrix (rotx)?

Hello, I got confused about the rotation matrix results. I want to rotate the structure around the z-axis with theta firs...

3 mois ago | 1 answer | 0

Question

why interp2 report "input grid is not a valid meshgrid" since input grid is generated by meshgrid?

Dear Community, I need to do a 2D interpolation for a matrix data, but when I use the interp2, the function report error "...

4 mois ago | 2 answers | 0

Question

Question about 3D rotation

I tried to rotate a sequence of points in the below sequence: first-axis: Z, rotation angle is 45 degree; second-axis: X, rotat...

4 mois ago | 0 answers | 0

Question

how to compute the components of fields on the sloped plane

I have compute all the components of electromagnetic fields on the normal plane (Ex, Ey, Ez, Hx,Hy,Hz). Thn I project all fields...

6 mois ago | 0 answers | 0

Answered

how to solve 1D heat equation by Crank-Nicolson method

Dear Darova, The below code is What I figure out. Hopefully it helps someone. u=zeros(length(X),nstep+1); u(...

how to solve 1D heat equation by Crank-Nicolson method

Dear Darova, The below code is What I figure out. Hopefully it helps someone. u=zeros(length(X),nstep+1); u(...

6 mois ago | 1

Answered

how to solve 1D heat equation by Crank-Nicolson method

I figure out that the boundary is dealt with incorrectly. After re-deriving the matrix to include the boundary value, I finally ...

how to solve 1D heat equation by Crank-Nicolson method

I figure out that the boundary is dealt with incorrectly. After re-deriving the matrix to include the boundary value, I finally ...

7 mois ago | 1

| accepted

Question

how to solve 1D heat equation by Crank-Nicolson method

I need to solve a 1D heat equation by Crank-Nicolson method . The tempeture on both ends of the interval is given as the fixed ...

7 mois ago | 2 answers | 0

Question

how to plot the 3D graph

I build the 3D grid and form a function based on the grid. I would like to know how to display the data shown in the below figur...

12 mois ago | 1 answer | 0

Question

How to compute the ratio of the insection point in each grid on the boundary of a real structure

In the Cartesian grid, the real structures are pixelized into the staircase approximation. To reduce the staircase error, the ef...

environ un an ago | 2 answers | 0

Answered

how to use the row&column indices returned by find to control array element in matrix way

I appreciate your quick help. It really helps me to solve the whole issue.

how to use the row&column indices returned by find to control array element in matrix way

I appreciate your quick help. It really helps me to solve the whole issue.

environ un an ago | 0

Question

how to use the row&column indices returned by find to control array element in matrix way

I have a logical matrix (X) that are generated when the element meets certain conditions in the original raw matrix (data) and u...

environ un an ago | 2 answers | 0

Answered

Finding rows with the closest values in two matrices matlab

I find one useful code in the file exchange called Inter-Point Distance Matrix. http://www.mathworks.com/matlabcentral/fileexcha...

Finding rows with the closest values in two matrices matlab

I find one useful code in the file exchange called Inter-Point Distance Matrix. http://www.mathworks.com/matlabcentral/fileexcha...

presque 5 ans ago | 0

Answered

Finding rows with the closest values in two matrices matlab

this method doesn't work because all the numeric data are generated from some images. Since the images are not always same/align...

Finding rows with the closest values in two matrices matlab

this method doesn't work because all the numeric data are generated from some images. Since the images are not always same/align...

presque 5 ans ago | 0

| accepted

Question

Finding rows with the closest values in two matrices matlab

I have two matrices with the same size [n,2]. One is the control matrix A and another is the test matrix B. In general, Numbers ...

presque 5 ans ago | 5 answers | 0

Question

How to adjust GUI size in remote desktop session

I know the GUI size is right for my desktop in the lab and GUI size is proportional. However, when I remotely log in, GUI size i...

plus de 5 ans ago | 0 answers | 0

Question

How to show axes when I build a GUI Scatter plot

how to show axes and minortick when I build a GUI Scatter plot? By using the following code, no axes are shown in GUI. Please h...

plus de 5 ans ago | 1 answer | 0

Question

How to combine numeric contents inside a cell array with another numeric matrix

I want to combine numeric contents inside a cell array with another numeric matrix. The following is a simple demo code. %%...

plus de 5 ans ago | 1 answer | 0

Question

GUI how to display table data into figure

My problem is: I try to read some data from excel file, first display as table data inside Matlab GUI, then I want to display da...

plus de 5 ans ago | 2 answers | 0

Question

how to match with random cell name with varied format

I have a series of cell array XXXX-20-0266-3.dat XXXX-10-01-12_03.03.03 AM.dat XXXX-10-01-12_01.03.03 PM.dat XXXX-...

plus de 5 ans ago | 1 answer | 0

Question

reading mixed format csv data with empty value '-'

The data is mixed formatted. I just list the float number parts to show you my problem. 1 1 100.3 -45000 -0.23 0.2555 600...

presque 6 ans ago | 1 answer | 0