Answered

Random shuffle of vector elements

This can be easily done by addressing the vector correctly. First you need a random order to shuffle your elements. You can do t...

Random shuffle of vector elements

This can be easily done by addressing the vector correctly. First you need a random order to shuffle your elements. You can do t...

mer än ett år ago | 1

| accepted

Answered

how can i use a Gaussian gradient routine for remove the out of focused section in image processing

You could refine your processing using bwlabel to assign unique labels to the regions you have already detected. Then use region...

how can i use a Gaussian gradient routine for remove the out of focused section in image processing

You could refine your processing using bwlabel to assign unique labels to the regions you have already detected. Then use region...

mer än ett år ago | 0

| accepted

Answered

A ’BGR’ image.

Hello: First, changing channels is very simple you just need to change the third dimension of the image, e.g. image1=imread('p...

A ’BGR’ image.

Hello: First, changing channels is very simple you just need to change the third dimension of the image, e.g. image1=imread('p...

mer än ett år ago | 1

| accepted

Answered

I cannot save matlab editor, the .m file.

I guess that you must have used some special characters like accents, have you copy-pasted something into the editor?

I cannot save matlab editor, the .m file.

I guess that you must have used some special characters like accents, have you copy-pasted something into the editor?

mer än ett år ago | 0

Answered

Detecting a stain in a texture

This would not be that difficult, marble = imread('https://upload.wikimedia.org/wikipedia/commons/f/f3/SierraXenolith.JPG'); ...

Detecting a stain in a texture

This would not be that difficult, marble = imread('https://upload.wikimedia.org/wikipedia/commons/f/f3/SierraXenolith.JPG'); ...

mer än ett år ago | 0

Answered

I need to find the phase of the images.

Hello The image that you show could be that of a phase, but it is hard to judge from what you are showing. In any case, here is...

I need to find the phase of the images.

Hello The image that you show could be that of a phase, but it is hard to judge from what you are showing. In any case, here is...

mer än ett år ago | 3

Answered

unshow unnecessary intervalls in a histogramm

Hello: What you need to do is rather simple if you capture the values of your histogram, instead of using hist to display dir...

unshow unnecessary intervalls in a histogramm

Hello: What you need to do is rather simple if you capture the values of your histogram, instead of using hist to display dir...

mer än ett år ago | 0

Answered

Mean computaion in matlab

If your data is in a matrix of dimensions [samples x 3], e.g. data=[lon1 lat1 value1; lon2 lat2 value2; lon3 lat3 value3; ...

Mean computaion in matlab

If your data is in a matrix of dimensions [samples x 3], e.g. data=[lon1 lat1 value1; lon2 lat2 value2; lon3 lat3 value3; ...

mer än ett år ago | 0

| accepted

Answered

convolution of 2 signals

You are confusing functions. conv is used to obtain the convolution, subplot is used to divide a figure and then plot inside eac...

convolution of 2 signals

You are confusing functions. conv is used to obtain the convolution, subplot is used to divide a figure and then plot inside eac...

mer än ett år ago | 0

Answered

Compute convolution y[n]=x[n]*h[n]: x[n]={2,0,1,-1,3}; h[n]={1,2,0,1}

What exactly is your question?

Compute convolution y[n]=x[n]*h[n]: x[n]={2,0,1,-1,3}; h[n]={1,2,0,1}

What exactly is your question?

mer än ett år ago | 0

Answered

How can I extract the GLCM features from each nucleus of mircroscope blood smear image?

One way to do this would be to crop each region, once you have found each object, you can use regionprops to determine the extre...

How can I extract the GLCM features from each nucleus of mircroscope blood smear image?

One way to do this would be to crop each region, once you have found each object, you can use regionprops to determine the extre...

mer än ett år ago | 0

Answered

How to Loop to plot histogram and line plot?

The following is not clear and most probably your error: for i=4:8;k=1:2 subplot(1,2,k) plot(Temp(:,3),Temp(:...

How to Loop to plot histogram and line plot?

The following is not clear and most probably your error: for i=4:8;k=1:2 subplot(1,2,k) plot(Temp(:,3),Temp(:...

mer än ett år ago | 0

Answered

fprintf or fwrite non ASCII characters

Have you tried using TeX formatting? I.e. \alpha \sigma \mu https://uk.mathworks.com/help/matlab/creating_plots/greek-letters...

fprintf or fwrite non ASCII characters

Have you tried using TeX formatting? I.e. \alpha \sigma \mu https://uk.mathworks.com/help/matlab/creating_plots/greek-letters...

mer än ett år ago | 0

Answered

Labelling of x axis

There are 2 ways to solve this: First is to plot in the actual hours instead of the points of the matrix that is holding th...

Labelling of x axis

There are 2 ways to solve this: First is to plot in the actual hours instead of the points of the matrix that is holding th...

mer än ett år ago | 0

| accepted

Answered

how to change the plot background?

Most probably the first figure you are showing is and RGB (type "whos" and look for the dimensions it should be rows x columns x...

how to change the plot background?

Most probably the first figure you are showing is and RGB (type "whos" and look for the dimensions it should be rows x columns x...

mer än ett år ago | 0

Answered

Plotting Several 2D Spatial Cross-section Data in 3D (GPR Data)

In terms of functions you can use mesh, surf, isosurface, isocaps and others. But what is more important is what you are trying ...

Plotting Several 2D Spatial Cross-section Data in 3D (GPR Data)

In terms of functions you can use mesh, surf, isosurface, isocaps and others. But what is more important is what you are trying ...

mer än ett år ago | 0

Answered

How to make a bar graph using user input values

Several errors, First, clear your figure every time you play otherwise they will overlap (use clf). Second, you are always...

How to make a bar graph using user input values

Several errors, First, clear your figure every time you play otherwise they will overlap (use clf). Second, you are always...

mer än ett år ago | 0

| accepted

Answered

how to change the type of binarize threshold

I agree with the previous comments, the first T is not a table. So two comments 1) do not use T for a value first and then fo...

how to change the type of binarize threshold

I agree with the previous comments, the first T is not a table. So two comments 1) do not use T for a value first and then fo...

mer än ett år ago | 1

| accepted

Answered

¿Porque no corre mi código? No aparece nada

Hola, Primero unas recomendaciones: 1) te recomiendo escribir en ingles porque en espan~ol es mas dificil tener ayuda 2) te r...

¿Porque no corre mi código? No aparece nada

Hola, Primero unas recomendaciones: 1) te recomiendo escribir en ingles porque en espan~ol es mas dificil tener ayuda 2) te r...

nästan 2 år ago | 0

Answered

title according to the file name

Perhaps you want to add values to the titles of your figures, try something like this for k=1:9 subplot(3,3,k) title(...

title according to the file name

Perhaps you want to add values to the titles of your figures, try something like this for k=1:9 subplot(3,3,k) title(...

nästan 2 år ago | 1

| accepted

Answered

Plot {(x,y,z)| x²+y²<1, 0<z<x+2}

It depends on what you want. One way to code this would be to define your space, i.e. the range of each of each variable, say x ...

Plot {(x,y,z)| x²+y²<1, 0<z<x+2}

It depends on what you want. One way to code this would be to define your space, i.e. the range of each of each variable, say x ...

nästan 2 år ago | 0

Answered

How can I get rid of the gap on the x-axis?

How about axis tight would that work?

How can I get rid of the gap on the x-axis?

How about axis tight would that work?

nästan 2 år ago | 0

Answered

How to put separate titles above multiple pcolor subplots

The issue is that you are setting the axis to off with this set(gca,'visible','off'); Your problem will be solved if you use ...

How to put separate titles above multiple pcolor subplots

The issue is that you are setting the axis to off with this set(gca,'visible','off'); Your problem will be solved if you use ...

nästan 2 år ago | 0

| accepted

Answered

Help with an ECG signal

Please read the following live script, it describes several of the issues you raised: https://uk.mathworks.com/matlabcentral/...

Help with an ECG signal

Please read the following live script, it describes several of the issues you raised: https://uk.mathworks.com/matlabcentral/...

ungefär 2 år ago | 1

| accepted

Answered

How to make '.' Markers transparent in a Scatter plot?

Hello Just tested this in R2019a and it works as for you, I have not yet upgraded to 2020. Just an idea, try to grab the hand...

How to make '.' Markers transparent in a Scatter plot?

Hello Just tested this in R2019a and it works as for you, I have not yet upgraded to 2020. Just an idea, try to grab the hand...

ungefär 2 år ago | 0

Answered

How create desired number of images in the folder

Hello First of all, if you have folders you better define these: baseDir = pwd; that is the base folder or directory, then ...

How create desired number of images in the folder

Hello First of all, if you have folders you better define these: baseDir = pwd; that is the base folder or directory, then ...

ungefär 2 år ago | 0

| accepted

Answered

Find matching rows based on specific column values

This is rather easy if you know how to address matrices properly. Take your matrix: >> a=[1 2 5 4 5 7 1 2 9 6 3 2 4 5 1 7 ...

Find matching rows based on specific column values

This is rather easy if you know how to address matrices properly. Take your matrix: >> a=[1 2 5 4 5 7 1 2 9 6 3 2 4 5 1 7 ...

ungefär 2 år ago | 1

| accepted

Answered

Create boxplots from multistructure cell

Have you considered using 3D boxplots? Have a look here: https://uk.mathworks.com/matlabcentral/fileexchange/68006-boxplot3d...

Create boxplots from multistructure cell

Have you considered using 3D boxplots? Have a look here: https://uk.mathworks.com/matlabcentral/fileexchange/68006-boxplot3d...

ungefär 2 år ago | 0

Answered

What are the code that i should use ??

This sounds like homework. If you want some help you would need to make some effort and start your own code and ask questions if...

What are the code that i should use ??

This sounds like homework. If you want some help you would need to make some effort and start your own code and ask questions if...

ungefär 2 år ago | 0

Answered

How can I import Matlab data to XML file ?

Have a look here https://uk.mathworks.com/help/matlab/import_export/exporting-to-xml-documents.html https://uk.mathworks.com...

How can I import Matlab data to XML file ?

Have a look here https://uk.mathworks.com/help/matlab/import_export/exporting-to-xml-documents.html https://uk.mathworks.com...

ungefär 2 år ago | 0