Answered
Understanding the if command
elseif isempty(c1) o(c(1)+1:end)=o(c(1)+1:end)-2^16; else %do nothin...

7 years ago | 0

| accepted

Answered
Variance of image in matlab
var_result=var(gray_image) It returns the row matrix variance with respect to each column Detail Documentation var For Compl...

7 years ago | 1

Answered
How to normalize an image after applying median filter on the image?
How can I normalize an image Use im2double Please dont expect that filtering can remove all noise. You acn try other filters...

7 years ago | 0

Answered
Why does the image after subtracting the original image from average image displays a black screen
There may be two issues- Suppose the image as following- image=[3 4 5;5 6 7;1 2 0]; If you calulate the average of the ima...

7 years ago | 0

| accepted

Answered
How to code "while" loop for the following problem?
ww=[3.749893 5.217726 0.412081 0.113385 1.27062 ...

7 years ago | 1

| accepted

Answered
Gaussian noise on dicom images
Try imshow(C,'DisplayRange',[]);

7 years ago | 0

Answered
How to plot a curve using differential (dy/dx) data.
Do the integration of dy, both sides, which gives y, then plot (x,y)

7 years ago | 0

Answered
Undefined function or variable but variable is defined
one is ul and other is u1 ul = u0 +((deltax/EA)*(B*N0+(1-B)*n1)); % This is UL u0 = u1; % This is U1 Hehe.. :)

7 years ago | 1

Answered
Axis Label Affecting Size of Plot Area
Do check here ylim

7 years ago | 0

Answered
While plotting, reverse phase shift of square wave is observed?
Your Code: S2_nh = exp(-1i*nh*2*pi*D)*S1_nh; %...........^^^ I have removed the - sign, as y2 (blue signal) depents on S2_nh,...

7 years ago | 0

Answered
How to transform a unit8 variable into a double one?
data_double=double(data); See details double

7 years ago | 0

Answered
Replace elements of a matrix by a smaller matrix which contains circular shaped values margins
A=[1 1 1 1 1;1 1 1 1 1;1 1 1 1 1;1 1 1 1 1;1 1 1 1 1]; B=[0 0 0 0;0 5 5 0;0 5 5 0;0 0 0 0]; [r c]=find(B>1); A(r,c)=B(r,c) R...

7 years ago | 0

Answered
Convert String to binary in each element
kol='1'; data1=str2double(kol); data2=logical(data1) Command Window: >> whos data2 Name Size Bytes Clas...

7 years ago | 1

| accepted

Answered
(UPDATED) Need to find area of an image at half length
Half Length of the cone area, lets say binary image is image_bw [rows colm]=size(image_bw); image_bw(1:round(rows/2),:)==0; %...

7 years ago | 1

Answered
How to get edge line of from binary Image?
You can do that, using Morphological Operations

7 years ago | 0

Answered
Help me understand this code please
First Step: r = 3.62; % Define r x(1) = 0.7; %define array index 1=0.7 row = size(img,1); %Finding row size of img col = s...

7 years ago | 0

Answered
Creating multiple plots from a data file using a for loop
plot(x',y');

7 years ago | 0

Answered
Thermal Image background substraction
You can do that, by considering gray range with more than specific (blob size) pixels continuity.

7 years ago | 1

Answered
Funcion "solve" version
No, Solve optimization problem Introduced in R2017b

7 years ago | 0

| accepted

Answered
Hi, Good day. I want ask about when I using this code why keep pop up "Index exceeds matrix dimension"? Thank You.
In the image there is no circles with radius r pixels in the range [50 100] Hence when you run the code with [50 100] radius ra...

7 years ago | 0

| accepted

Answered
how to count all vehicles in a video using matlab
If you are finding the vehicle number individually per frame tot_v=0; for i=1:no_v_frame tot_v=tot_v+no_v_frame(i) end or ...

7 years ago | 0

Answered
random numbers without repetition of two consecutive numbers
result1=randperm(4); result=[result1,result1(randi(3))] Examples: result = 4 1 3 2 1 result = 2 ...

7 years ago | 1

| accepted

Answered
i get an error.whats wrong? why the values of 'B' in intger instead of decimal.
See your zz data is integer type (uint8). >> whos ZZ Name Size Bytes Class Attributes ZZ 2x2...

7 years ago | 1

| accepted

Answered
confusion about the format in MATLAB
Please note experts will answer on this. I am trying to give hints, its just compact display 0.0000 in command window, when it d...

7 years ago | 0

| accepted

Answered
Digital image Watermarking using Discrete Wavelet Transform
How to give different names to series of images(outputs) produce by the below code (i.e. expt.m) and save. I assumed that you h...

7 years ago | 0

| accepted

Answered
showing undefined variable error
Its simple define the variable idp_eff and others too (if any)

7 years ago | 0

Answered
How to convert a row vector into 2d matrix
As per my understanding, you have to two data grid_data( 1,290) represents Grid points lat_long(1,290) represents lat and lon...

7 years ago | 1

Answered
Determing average RGB value of segmented protion of a image
-Determing average RGB value of segmented protion of a image- Yes, partially, It seems you are doing right, but look at the fol...

7 years ago | 1

| accepted

Answered
Change position of legend and stacking to horizontal
Change the position of legend box? You specifically asking postion of legend box You can simply drag and drop Or Use the a...

7 years ago | 0

Load more