Please do not send private requests per e-mail.

답변 있음

How to replace numbers in one vector according to two 'translation vectors'

D = interp1(B,C,A)

How to replace numbers in one vector according to two 'translation vectors'

D = interp1(B,C,A)

9달 전 | 0

| 수락됨

답변 있음

How do I calculate monthly mean of a 3-D matrix?

Using retime is one option, you would just have to shape your array into a timetable first, which is a bit of a hassle. I thin...

How do I calculate monthly mean of a 3-D matrix?

Using retime is one option, you would just have to shape your array into a timetable first, which is a bit of a hassle. I thin...

9달 전 | 0

| 수락됨

답변 있음

How to include more precise time intervals on my graph? (MATLAB R2020a)

Not so complicated, you just need to figure out the right properties to change. The function "datetick" is for datenum, which is...

How to include more precise time intervals on my graph? (MATLAB R2020a)

Not so complicated, you just need to figure out the right properties to change. The function "datetick" is for datenum, which is...

10달 전 | 0

답변 있음

How do I stitch multiple images in a spiral order

I would just put each image in a cell array, A(1)... A(n) based on their original name. Then it's just a matter of indexing. He...

How do I stitch multiple images in a spiral order

I would just put each image in a cell array, A(1)... A(n) based on their original name. Then it's just a matter of indexing. He...

10달 전 | 0

답변 있음

creat a grid from xyz file

%make a 100x100 grid [XX,YY] = meshgrid(linspace(min(X),max(X),100),linspace(min(Y),max(Y),100)) %interpolate Z data to grid ...

creat a grid from xyz file

%make a 100x100 grid [XX,YY] = meshgrid(linspace(min(X),max(X),100),linspace(min(Y),max(Y),100)) %interpolate Z data to grid ...

10달 전 | 0

답변 있음

how to fix particular connected component in multiple frames

Here's something I stitched together that works OK for the images you provided. I had to start by cropping them to the right siz...

how to fix particular connected component in multiple frames

Here's something I stitched together that works OK for the images you provided. I had to start by cropping them to the right siz...

10달 전 | 0

| 수락됨

답변 있음

How to plot complete 3D RGB color space (gamut) in matlab?

Code adapted from this guide (link) vert = [0 0 0;1 0 0;1 1 0;0 1 0;0 0 1;1 0 1;1 1 1;0 1 1]; fac = [1 2 6 5;2 3 7 6;3 4 8 7;4...

How to plot complete 3D RGB color space (gamut) in matlab?

Code adapted from this guide (link) vert = [0 0 0;1 0 0;1 1 0;0 1 0;0 0 1;1 0 1;1 1 1;0 1 1]; fac = [1 2 6 5;2 3 7 6;3 4 8 7;4...

10달 전 | 1

답변 있음

How can I set an axis outside the polar figure

I've modified your code. Not sure how robust this solution is, but you can try this: figure(2) set(gcf,'color','w'); ax = pol...

How can I set an axis outside the polar figure

I've modified your code. Not sure how robust this solution is, but you can try this: figure(2) set(gcf,'color','w'); ax = pol...

10달 전 | 0

| 수락됨

답변 있음

Find the 3-D grid coordinates points index that are interior of a 3D surface boundary

Seems your isosurface is not a convex hull, which is why you end up with some points on the outside. You can try a combination o...

Find the 3-D grid coordinates points index that are interior of a 3D surface boundary

Seems your isosurface is not a convex hull, which is why you end up with some points on the outside. You can try a combination o...

10달 전 | 0

| 수락됨

답변 있음

How to binarize this image with removing some noises with smooth surface and getting red laser line in the binary image

I had some difficulty obtaining a solid black line by thresholding only. Since its a simple straight line, you could try somethi...

How to binarize this image with removing some noises with smooth surface and getting red laser line in the binary image

I had some difficulty obtaining a solid black line by thresholding only. Since its a simple straight line, you could try somethi...

10달 전 | 0

답변 있음

converting string (python) datetime to matlab

fmt_dt='yyyy-MM-dd HH:mm:ss.SSSSSSZ'; ↑ Also, as noted in the comments, Format should be rep...

converting string (python) datetime to matlab

fmt_dt='yyyy-MM-dd HH:mm:ss.SSSSSSZ'; ↑ Also, as noted in the comments, Format should be rep...

10달 전 | 0

답변 있음

distance measurement in image based on intensity difference

I would first binarize the image and then go columnwise to find the last white pixel. RGB = imread('B00001.jpg'); GRAY = rgb2g...

distance measurement in image based on intensity difference

I would first binarize the image and then go columnwise to find the last white pixel. RGB = imread('B00001.jpg'); GRAY = rgb2g...

10달 전 | 0

답변 있음

Finding number of connected components of a single value of pixel

If you want to find the two black (false) components, then you need to pass the complement and use 4-connectivity (no diagonal c...

Finding number of connected components of a single value of pixel

If you want to find the two black (false) components, then you need to pass the complement and use 4-connectivity (no diagonal c...

10달 전 | 0

| 수락됨

답변 있음

3D Temperature distribution plot

It is convenient to have the variable you want to plot as layers in your 3d data. In other words you want a XYZ matrix but you h...

3D Temperature distribution plot

It is convenient to have the variable you want to plot as layers in your 3d data. In other words you want a XYZ matrix but you h...

10달 전 | 1

| 수락됨

답변 있음

90% Percentile of Matrix

There is probably a one-liner for this, but I guess you could use A = [0.289, 0.254, 0.287, 0.292, 0.289, 0.267, 0.289, 0.304, ...

90% Percentile of Matrix

There is probably a one-liner for this, but I guess you could use A = [0.289, 0.254, 0.287, 0.292, 0.289, 0.267, 0.289, 0.304, ...

10달 전 | 1

답변 있음

most efficient way of plotting surf/mesh from live data

It is correct that creating a new surface object every time is slowing you down. Updating the existing object is much faster. Co...

most efficient way of plotting surf/mesh from live data

It is correct that creating a new surface object every time is slowing you down. Updating the existing object is much faster. Co...

10달 전 | 2

| 수락됨

답변 있음

Cell arrays difference operation

First of all I would use cell2mat() to concatenate your cell array tempTOT_hot into a 261x285 array (double) Then everything is...

Cell arrays difference operation

First of all I would use cell2mat() to concatenate your cell array tempTOT_hot into a 261x285 array (double) Then everything is...

10달 전 | 0

| 수락됨

답변 있음

How could I plot geobubble and geoplot in the same figure?

This is not a very good solution, but its something. It seems you cannot use plotm() etc. from the mapping toolbox in the same a...

How could I plot geobubble and geoplot in the same figure?

This is not a very good solution, but its something. It seems you cannot use plotm() etc. from the mapping toolbox in the same a...

10달 전 | 2

답변 있음

How to enable the colorbar to only show the vertical scale with values ?

Not sure if this answers your question, but it's an alternative to using a colorbar for scale. Also did not use the "outside" ar...

How to enable the colorbar to only show the vertical scale with values ?

Not sure if this answers your question, but it's an alternative to using a colorbar for scale. Also did not use the "outside" ar...

10달 전 | 0

답변 있음

Is it possible to identify data in a for loop?

I would probably collect the data in the loop instead and then call plot outside of the loop. Could use something like this: d=...

Is it possible to identify data in a for loop?

I would probably collect the data in the loop instead and then call plot outside of the loop. Could use something like this: d=...

11달 전 | 0

| 수락됨

답변 있음

Display data ONLY inside closed polygons

Super simple if you have X,Y,Z with Z being elevation as well as a closed polygon defined by xp and yp %some sample data [X,Y]...

Display data ONLY inside closed polygons

Super simple if you have X,Y,Z with Z being elevation as well as a closed polygon defined by xp and yp %some sample data [X,Y]...

11달 전 | 0

| 수락됨

답변 있음

Merge .txt files with specific suffix

Could do something like this if you have a small number of "groups". For a large number of groups, I would suggest just extracti...

Merge .txt files with specific suffix

Could do something like this if you have a small number of "groups". For a large number of groups, I would suggest just extracti...

11달 전 | 0

답변 있음

RGB Image re-interlacing missing output colors.

I'm guessing your input image is uint8 (0 = black, 255 = saturated) and that your output image is class double (0 = black, 1 = ...

RGB Image re-interlacing missing output colors.

I'm guessing your input image is uint8 (0 = black, 255 = saturated) and that your output image is class double (0 = black, 1 = ...

11달 전 | 0

| 수락됨

답변 있음

How to check if my time series has a repeated hour in a matrix of 10200 rows?

Convert everything to datetime and then check the difference %some data, note that 2000-1-1 10:00:00 is repeated t = datetime(...

How to check if my time series has a repeated hour in a matrix of 10200 rows?

Convert everything to datetime and then check the difference %some data, note that 2000-1-1 10:00:00 is repeated t = datetime(...

11달 전 | 0

| 수락됨

답변 있음

Saving gray scale image

Using a single color channel to convert your image to grayscale is not optimal. The gray tone is usually a combination of red, b...

Saving gray scale image

Using a single color channel to convert your image to grayscale is not optimal. The gray tone is usually a combination of red, b...

11달 전 | 1

| 수락됨

답변 있음

How can I georeference this grid/matrix?

With the mapping toolbox you can just replace your plot functions with the corresponding map axes function. load coastlines a...

How can I georeference this grid/matrix?

With the mapping toolbox you can just replace your plot functions with the corresponding map axes function. load coastlines a...

11달 전 | 0

답변 있음

how to load an ASCII file

Based on the sample given in the comments A = readmatrix('Trial 1.txt') or better yet, opts = detectImportOptions('Trial 1.tx...

how to load an ASCII file

Based on the sample given in the comments A = readmatrix('Trial 1.txt') or better yet, opts = detectImportOptions('Trial 1.tx...

11달 전 | 1

| 수락됨

답변 있음

replacing Nan with 0

The line does not work because the left part just returns a logical. isnan(auPoints(r,c)) = 0 It is similar to writing isnan...

replacing Nan with 0

The line does not work because the left part just returns a logical. isnan(auPoints(r,c)) = 0 It is similar to writing isnan...

11달 전 | 0

답변 있음

Axes labeling and over-plotting two graph having different data size

Problem is that you're using the outdated date format. Most of your issues will probably go away if you change to datetime forma...

Axes labeling and over-plotting two graph having different data size

Problem is that you're using the outdated date format. Most of your issues will probably go away if you change to datetime forma...

11달 전 | 1