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

12 months ago | 0

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

1 year ago | 0

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

1 year ago | 0

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

1 year ago | 0

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

1 year ago | 0

| accepted

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

1 year ago | 0

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

1 year ago | 0

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

1 year ago | 0

| accepted

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

1 year ago | 1

| accepted

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

1 year ago | 0

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

1 year ago | 1

| accepted

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

1 year ago | 0

How can I get rid of the gap on the x-axis?
How about axis tight would that work?

1 year ago | 0

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

1 year ago | 0

| accepted

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

1 year ago | 1

| accepted

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

1 year ago | 0

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

1 year ago | 0

| accepted

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

1 year ago | 1

| accepted

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

1 year ago | 0

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

1 year ago | 0

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

1 year ago | 0

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

1 year ago | 0

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

1 year ago | 0

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

1 year ago | 0

| accepted

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

1 year ago | 1

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

1 year ago | 0

| accepted

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

1 year ago | 0

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

1 year ago | 1