Réponse apportée
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...

plus de 6 ans il y a | 1

Réponse apportée
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

plus de 6 ans il y a | 0

Réponse apportée
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...

plus de 6 ans il y a | 1

Réponse apportée
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...

plus de 6 ans il y a | 0

Réponse apportée
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...

plus de 6 ans il y a | 0

Réponse apportée
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 ...

plus de 6 ans il y a | 1

| A accepté

Réponse apportée
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

plus de 6 ans il y a | 1

| A accepté

Réponse apportée
How to solve simultaneous equation with identity
https://in.mathworks.com/help/symbolic/solve-a-system-of-linear-equations.html

plus de 6 ans il y a | 0

Réponse apportée
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 ...

plus de 6 ans il y a | 0

Réponse apportée
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); ...

plus de 6 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 6 ans il y a | 0

| A accepté

Réponse apportée
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

plus de 6 ans il y a | 1

Réponse apportée
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,...

plus de 6 ans il y a | 0

Réponse apportée
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 ...

plus de 6 ans il y a | 0

| A accepté

Réponse apportée
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

plus de 6 ans il y a | 0

| A accepté

Réponse apportée
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

plus de 6 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 6 ans il y a | 0

Réponse apportée
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(-...

plus de 6 ans il y a | 1

Réponse apportée
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...

plus de 6 ans il y a | 1

| A accepté

Réponse apportée
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 ...

plus de 6 ans il y a | 0

| A accepté

Réponse apportée
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'); ...

plus de 6 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 6 ans il y a | 0

Réponse apportée
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

plus de 6 ans il y a | 0

Réponse apportée
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...

plus de 6 ans il y a | 0

| A accepté

Réponse apportée
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,...

plus de 6 ans il y a | 0

Réponse apportée
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...

plus de 6 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 6 ans il y a | 0

Réponse apportée
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); ...

plus de 6 ans il y a | 0

Réponse apportée
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...

plus de 6 ans il y a | 0

Charger plus