답변 있음
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...

28일 전 | 0

답변 있음
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 ...

28일 전 | 1

| 수락됨

답변 있음
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

28일 전 | 1

| 수락됨

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

28일 전 | 0

답변 있음
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 ...

28일 전 | 0

답변 있음
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); ...

28일 전 | 0

| 수락됨

답변 있음
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...

29일 전 | 0

| 수락됨

답변 있음
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

29일 전 | 1

답변 있음
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,...

29일 전 | 0

답변 있음
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 ...

약 1달 전 | 0

| 수락됨

답변 있음
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

약 1달 전 | 0

| 수락됨

답변 있음
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...

약 1달 전 | 0

답변 있음
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(-...

약 1달 전 | 1

답변 있음
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...

약 1달 전 | 1

| 수락됨

답변 있음
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 ...

약 1달 전 | 0

| 수락됨

답변 있음
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'); ...

약 1달 전 | 0

| 수락됨

답변 있음
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...

약 1달 전 | 0

답변 있음
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

약 1달 전 | 0

답변 있음
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...

약 1달 전 | 0

| 수락됨

답변 있음
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,...

약 1달 전 | 0

답변 있음
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...

약 1달 전 | 0

| 수락됨

답변 있음
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...

약 1달 전 | 0

답변 있음
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); ...

약 1달 전 | 0

답변 있음
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...

약 1달 전 | 0

답변 있음
How to select different data points in different images in a loop?
Hope I understand the question?? Yes, lets suppose three data points points in image 1. Please stored in a array or matrix (wh...

약 1달 전 | 0

답변 있음
How to find the valley areas of the image?
The segmention approach for this image is already answerd, for localizing valley region please see the watershed algorithm. It w...

약 1달 전 | 0

답변 있음
How to multiply matrix by using for loop
clc; clear; Qhc=2000000*1000;%J , potrebna energija za grijanje u jednom satu N=200; %broj VK Qg=Qhc/3600; t=3600; %vrijem...

약 1달 전 | 0

| 수락됨

답변 있음
matlab code for 3x3 matrix determinant
det(matrix) Here det

약 1달 전 | 0

Load more