Senior Lecturer in Biomedical Image Analysis at City, University of London. Huge Matlab fan, wrote the book "Biomedical Image Analysis Recipes in MATLAB: For Life Scientists and Engineers" published by Wiley-Blackwell.

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

2 días 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 ...

2 días 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...

2 días 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...

2 días ago | 1

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

21 días 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(...

21 días 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 ...

3 meses 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?

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

3 meses 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/...

3 meses ago | 1

| accepted

Answered

How can I turn the following matrix into an image?

Well, an image of 16 rows, 16 columns would have 256 pixels. That would be the first consideration, after running your code you...

How can I turn the following matrix into an image?

Well, an image of 16 rows, 16 columns would have 256 pixels. That would be the first consideration, after running your code you...

3 meses ago | 1

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

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

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

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

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

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

5 meses ago | 0

Answered

How can i synthesis an ECG signal using Matlab

Please visit the following functions in Matlab File Exchange: https://uk.mathworks.com/matlabcentral/fileexchange/68246-visua...

How can i synthesis an ECG signal using Matlab

Please visit the following functions in Matlab File Exchange: https://uk.mathworks.com/matlabcentral/fileexchange/68246-visua...

5 meses ago | 0

Answered

how to fuzzify the pixel intensity of an image

I think that what you are referring to as "fuzzifying" is better described as randomness or adding noise. What you can do is sim...

how to fuzzify the pixel intensity of an image

I think that what you are referring to as "fuzzifying" is better described as randomness or adding noise. What you can do is sim...

5 meses ago | 0

Answered

RGB and LAB values

RGB, LAB, HSV and many others are colour spaces, that is how to create colours that resemble what natural colours are, see for i...

RGB and LAB values

RGB, LAB, HSV and many others are colour spaces, that is how to create colours that resemble what natural colours are, see for i...

6 meses ago | 0

| accepted

Answered

Plotting 1000 signals into one graph

First of all: for (i=1,i<=1000, i++), This is not Matlab, looks like java, in Matlab it would be for i=1:1000 ...

Plotting 1000 signals into one graph

First of all: for (i=1,i<=1000, i++), This is not Matlab, looks like java, in Matlab it would be for i=1:1000 ...

6 meses ago | 1

Answered

Filling a Vector with Find Function

This line does not look like Matlab syntax, it looks more like a python loop x [x, find(Call == Win(i,j))]; I would suggest th...

Filling a Vector with Find Function

This line does not look like Matlab syntax, it looks more like a python loop x [x, find(Call == Win(i,j))]; I would suggest th...

6 meses ago | 0

| accepted

Answered

How to subplot figures reopened from .fig files correctly when they containing images?

What you have to do is to grab each element by its handles, to grab the handles of a figure you use >> h0=gcf; then you can ac...

How to subplot figures reopened from .fig files correctly when they containing images?

What you have to do is to grab each element by its handles, to grab the handles of a figure you use >> h0=gcf; then you can ac...

7 meses ago | 0

Answered

Conv() not working

Could it be that you tried with uppercase C as in Conv and not with lower case as in conv? >> conv([1 1],[2 2]) ans = ...

Conv() not working

Could it be that you tried with uppercase C as in Conv and not with lower case as in conv? >> conv([1 1],[2 2]) ans = ...

7 meses ago | 1

Answered

I want to generate spherical from three given arrays, please help me out.

We would need a better explanation of exactly what you want, but I think that the main issues are: 1) you are using sph2cart ins...

I want to generate spherical from three given arrays, please help me out.

We would need a better explanation of exactly what you want, but I think that the main issues are: 1) you are using sph2cart ins...

8 meses ago | 0

Answered

a MATLAB function that calculates area of segmented thermal image

Hello This may be possible but cannot help without looking at the image and the area to be segmented.

a MATLAB function that calculates area of segmented thermal image

Hello This may be possible but cannot help without looking at the image and the area to be segmented.

8 meses ago | 0

Answered

How to include a vertical scale besides of a polar plot ?

This is easy, but you need to use handles if you want the figure to look like the one you show. And also, you have to think of t...

How to include a vertical scale besides of a polar plot ?

This is easy, but you need to use handles if you want the figure to look like the one you show. And also, you have to think of t...

9 meses ago | 0

| accepted

Answered

How to create empty XYZ image matrix

In addition to the above, you can also consider zeros emptyMatrix = zeros(x,y,z); And then you can add values into that ma...

How to create empty XYZ image matrix

In addition to the above, you can also consider zeros emptyMatrix = zeros(x,y,z); And then you can add values into that ma...

9 meses ago | 0

Answered

growing bubbles with a predetermined radius in a given volume?

There is too little information to answer this question properly. Do you mean non-overlapping bubbles? and that they contact eac...

growing bubbles with a predetermined radius in a given volume?

There is too little information to answer this question properly. Do you mean non-overlapping bubbles? and that they contact eac...

9 meses ago | 0

Answered

How to split a 3d matrix into sub-3d matrices?

There is not enough information to be certain about your question, but by addressing your matrices you can create submatrices li...

How to split a 3d matrix into sub-3d matrices?

There is not enough information to be certain about your question, but by addressing your matrices you can create submatrices li...

9 meses ago | 0