Answered
Contrast stretching diagram formula with imadjust function in matlab
Suppose you have input image, say input_image Do the some gray lebel operation, say the result is output_image; Here when appl...

6 years ago | 1

Answered
How can I save the total number of each selection from a listdlg using num2str?
xlabel(['Time (s)' ' foot-Spike: ',list{i}]) Here i is any number, not larger than length of list

6 years ago | 0

Answered
statistical features for each and every pixel in the image
"how to display features for each pixel in an image" As an invividual pixel, its having intensity value only, read the image, i...

6 years ago | 1

Answered
Segmentation of Lungs from Chest X-Ray Images
There is no best code for Segmentation of Lungs from Chest X-Ray Images. The code depends on datasets or simmilar data types. Th...

6 years ago | 0

Answered
bwlabel doesn't find a blob
Yes, total number of blobs in this image is 5 (in context of 8-connected objects) L=bwlabel(BW) returns the label matrix L that...

6 years ago | 0

Answered
Creating a matrix on matlab
format shortG d=0:0.5:12 Command Window: d = Columns 1 through 9 0 0.5 1 1.5 ...

6 years ago | 1

| accepted

Answered
How can I incrementally plot multiple Rectangles in a [X Y Width Height] field?
for i=1:10 PED_fld=[132+i 210-i 75 80] rectangle('position', PED_fld); %PED hold on; end

6 years ago | 1

| accepted

Answered
How to solve simultaneous equation with identity
https://in.mathworks.com/help/symbolic/solve-a-system-of-linear-equations.html

6 years ago | 0

Answered
Extract 2D slice parallel to an arbitrary plane in 3D image.
I want to slice the 3D image with a slice parallel to this plane. Let suppose image3d is 3D image, which you want to slices ...

6 years ago | 0

Answered
Error when trying to create a loop for k-means
%Defined img= pixelLabels= k= for i = 1 : k maskID = strcat('mask', 1); clusterID = strcat('cluster', 1); ...

6 years ago | 0

| accepted

Answered
Indexing with two matrices
A=[1 4 20 3 5 15 2 1 24 7 9 42]; B=[3 4 15 7 1 42]; [r1,c1]=size(B); c=ze...

6 years ago | 0

| accepted

Answered
how can i draw a 3-D figure?
x=rand(1,121); y=rand(1,121); z=rand(1,121); plot3(x,y,z); grid on; More 3D plots, Documentation here

6 years ago | 1

Answered
Why does subplot size change with increasing number of plots
I dont think figures are changing, just scaling the figure window as per the screen size (please check the scaling of plot axes,...

6 years ago | 0

Answered
Plotting multiple matlab figures into a single subplot
Remove figure statement within the loop. clear all; clc; c=zeros(4,1); h=zeros(4,1); for i=1:4 h(i)=subplot(2,2,i); end ...

6 years ago | 0

| accepted

Answered
Grid search for two data files and average of amplitude
v=200:02:1000; h=4:0.02:12; f=v./(4*h); writetable(table(f'),'f_matlab.txt'); Check the data

6 years ago | 0

| accepted

Answered
I am not able to plot the last loop in my figure with R(xx) figure(1) for xx=1:5; plot(R(xx),'--'); end .What is the issue with plotting the data from the curve fit? How do I solve it?
figure, for xx=1:5; plot(R(xx),'--'); % Is it plot with one variable only? hold on; end

6 years ago | 0

| accepted

Answered
How can i convert set of images from RGB to Lab using matlab?
Read images from folder FAQ here Before apply the code read here Representing color with the Lab color space image_data= % R...

6 years ago | 0

Answered
plotting comlex numbers,use one plot command, and each point should be different color
z =[complex(2,5),complex(1/5,3/5),(2+i)^3,(1+i)*(1-3*i),complex(5,-12),complex(-3,0),complex(0,2),complex(1,2*sqrt(2)),complex(-...

6 years ago | 1

Answered
Extracting features from rice grain image
Steps: As the ROIs are distinct, apply the proper threshold on gray images to segment ROIs Do the image engancement (if requi...

6 years ago | 1

| accepted

Answered
Denoising 3D ultrasound
It's purely depends on, what types of noise presence in the images. Though I can't commnet with surety, those filters may work ...

6 years ago | 0

| accepted

Answered
Transforming cell from excel file into numeric matrix
Exactly, readmatrix is preffered, if you have latest version. If not you can try the following one T=xlsread('Output_1.xls'); ...

6 years ago | 0

| accepted

Answered
IF-statement for matrix/vector
As you mentioned that the matrix having size 146652x1, which means it has 1 column. Prefer logical conditional statement. idx=m...

6 years ago | 0

Answered
Index in position 2 exceeds array bounds (must not exceed 5).
I sense to be here fprintf(1,' %d tbp = %g C.\n',i, u(6+i)); %...................................^ Check? >>whos u

6 years ago | 0

Answered
Why 4.8/1.6 is not equal to 3?
Here "==" is logical equality check, if the Left Hand Side equal to Right Hand side, it gives logical 1 (True), else 0 More ab...

6 years ago | 0

| accepted

Answered
create an image with black background from extracted pixel values
%Lets suppose you have image1 as main image image1=ones(150,150); subplot(121),imshow(image1); title('Main'); r=randi(150,[1,...

6 years ago | 0

Answered
Feature orientation in images
The "best method" is purely based on input data and multiple factors, and it is apurely a subjective term. I would suggest to fo...

6 years ago | 0

| accepted

Answered
How to make a loop to do a specific operation for multiple variables?
Assuming those results are array, hence used cell array { }. If numeric, please change to array [ ] RefInd={}; ny=cell(1,3);;n...

6 years ago | 0

Answered
How to write horizontally
x=-5:1:5; y=x.^2; disp('desired output:'); x y More x=-5:1:5; y=x.^2; disp('desired outpit'); fprintf('x'); disp(x); ...

6 years ago | 0

Answered
How to display 1D vector with indices into a function
Store those index in some 1 D array and later call the respective index data from ECG data, see the modified code, you may get i...

6 years ago | 0

Load more