Answered
Can you help me to plot the derivative of the function.
plot(diff(hx)); https://in.mathworks.com/help/matlab/ref/diff.html

5 years ago | 0

| accepted

Answered
width to height ratio of various images
It seems to be a project related task (not homework), so I have answered it Supposedly, you have that red markers in the image,...

5 years ago | 0

Answered
how to add more than 2 images for brain tumor detection?
Addition of four images result=image1+image2+image3+image4; If you add all four images, the maximum scale can be a maximum num...

5 years ago | 0

Answered
How to add poisson's noise to predefined binary array (4 x 4 array)
Note: Having 0 and 1 in array data and actually logical data array are two different things. Please refer the inbuilt function ...

5 years ago | 0

Answered
How to move a white square through a black grid
Have you tried this way? x=zeros(256,256); original_dat=x; block=ones(8,8); h=figure, for i=1:8:256 for j=1:8:256 ...

5 years ago | 1

| accepted

Answered
How can I solve this problem?
Here, I provided the answer based on following "I want to multiply "data1" with "c1" row to row and bit to bit values. I am us...

5 years ago | 0

| accepted

Answered
Object extraction from image
Simplest Case: Assuming you are considering MATLAB internal image rice.png image. The image is quite clear, you may use direct...

5 years ago | 1

Answered
How to delete rows or move rows in the 2D Matrix
"I have a problem that is I have a 2D matrix of [11x1000] with the image below, it can be seen that in the initial row the value...

5 years ago | 0

Answered
How to plot different values on same figure?
Use yyaxis https://in.mathworks.com/help/matlab/ref/yyaxis.html Otherwise: If you want to generate multiple plots with differ...

5 years ago | 0

Answered
How can I make a string?
B=reshape(A,[4,3])'; C=num2str(B); bin2dec(C) Output : ans = 2 10 6 Note: Loop is not necessity .

5 years ago | 1

| accepted

Answered
Derivative of Ramp, and step signal.
Use diff, more detail here syms % Varibles declaration ramp_fun=......% ramp function step_fun=......% step function d_ra...

5 years ago | 1

Answered
Convolution on all dimensions of an image
"I want this code to apply on RGB (and more dimentions) too." One way: Try with different planes, and concatenation later, lets...

5 years ago | 0

Answered
Adding Noise to RGB Image
Refer the following File Exchange link, to add Salt or Pepper noise with certain densities. https://in.mathworks.com/matlabcen...

5 years ago | 1

Answered
How can i calculate entropy of an image by using the entropy's type?
"But i dont really know which value corresponds to which variable" E= Let's suppose any gray scale Image of size 10x10 image...

5 years ago | 0

Answered
how to find pixel coordinate?
Note: Suggested to avoid "i" as a vaiable name, as it may conflict with inbuilt "i" >> i ans = 0.0000 + 1.0000i Lets con...

5 years ago | 1

| accepted

Answered
Finding 0 in data for n X 2 array
Another way result=data(~(data(:,1)==0 & data(:,2)==0),:) result = 36 -31 36 -27 35 -30 32 -30 ...

5 years ago | 1

| accepted

Answered
How to calculate the average with "for loop"
How to calculate the average with "for loop" data11 = csvread('person01_boxing_d1_uncomp.csv'); data22 = csvread('person01_han...

5 years ago | 0

| accepted

Answered
How can i create many gaussian and overlap some of them.
To display multiple overlapping plots, you may have to look in other plot functions, such as surf, plots, etc.. More: imagesc ...

5 years ago | 0

| accepted

Answered
sum of range of matrix elements from starting and end point
Lets say the matrix data is variable name as "mat" result=sum(mat(1:50,18)) "could you please tell how to do sum of elements i...

5 years ago | 0

| accepted

Answered
how to merge two cylinder surfaces?
Manually: Here I just subtract the adjusted z data to fill the gap, hence z values are shifted towards lowerside by the amount. ...

5 years ago | 0

Answered
how to plot multiple images (separately) in one window
"How to plot multiple images side by side in 1x768 format in a figure for example?" I assumed that you want to divide the data ...

5 years ago | 0

| accepted

Answered
Getting data from an image with rainbow scale
Please follow the following steps: Load the images (imread function) imshow(image_data) improfile function 2 click (without ...

5 years ago | 0

Answered
hey i am new to matlab , actually i want to fft analysis of honey bee sound wav files . i have done with single file now i want to read and plot all files in folder
A lot of similar question answers are available in MATLAB Answers (replace images files with wav), Like here https://www.mathwo...

5 years ago | 0

Answered
making video from large number of images
One error I have need notiching that, at the initial loop, you consider "pic" as single variable. However, in the 2nd loop, it i...

5 years ago | 1

Answered
How Can I do image extraction of chosen region?
Steps: Draw Right Click (Cursor above the Drawing) Create Mask Save the Mask

5 years ago | 0

Answered
how to remove gaussian noise?
Please refer the link, how to call sequences of images from an folder? https://matlab.fandom.com/wiki/FAQ#How_can_I_process_a_...

5 years ago | 0

| accepted

Answered
Recoding unique numbers to another number
data=[5 5 6 6 6 11 11]; counts=histc(data,unique(data)); data_result=repelem(1:length(unique(data)),counts) Results: data_re...

5 years ago | 1

Answered
Solve equations stored in variables
disp(vpa(simplify(Final))) Or fprintf('%.3f',simplify(Final))

5 years ago | 0

| accepted

Answered
code from digital signal processing using matlab, 3rd edition
Note: Here This w_han = '(hann(M))'; To this > May be Hanning Window here w_han =hann(M)'; Complete Code: M = 25; alph...

5 years ago | 0

| accepted

Answered
Error using .* Matrix dimensions must agree.
In this case hd is numeric array with size 25 whos hd Name Size Bytes Class Attributes hd 1x2...

5 years ago | 0

| accepted

Load more