답변 있음
how can i run iterations?
...... while abs(new(1:3)- ep)>0.01 for i = 1 : n x(i) = (ep(1) - sat(i,1)); y(i) = (ep(2) - sat(i,2)); z(i) = (ep...

거의 6년 전 | 0

답변 있음
Function writing for variable matrix
" write for this function such that when I input A, B or C at that position" Please note: In the function defination, only A is...

거의 6년 전 | 0

| 수락됨

답변 있음
noise is added to the central region of each image
Considering im is a gray level image, and the central part of the image considered as mid section of the image as per its rows a...

거의 6년 전 | 0

답변 있음
How to iterate through an array to check for adjacent elements that are equal to one another using loops.
"How to iterate through an array to check for adjacent elements that are equal to one another using loops" Here a is an 1D arra...

거의 6년 전 | 1

답변 있음
How does imnoise work with poisson option?
No sir, the noise is not added yet, just you generated noise based on x data x = 2 + 2*cos(linspace(-pi,pi,100)); subplot(121)...

거의 6년 전 | 1

답변 있음
segmentation using k-means clustering
Part 1 "I 'm just tried to code the segmentation part.but i am not sure is it correct or not. In segmentation work, answer wo...

거의 6년 전 | 0

답변 있음
Convolution of two rectangular signals
conv(sig1,sig2) More about conv

거의 6년 전 | 0

답변 있음
how to read two specific data from a folder?
If both images are in current working directory, please mention the image names only(with extension like png,jpg) im1=imread('I...

거의 6년 전 | 0

답변 있음
Fit a curve along points through starting and end point
You can fit the curve in number od ways, see which tyep perfectly fit as per your expectation x_data=randi(10,[1,10])'; y_data...

거의 6년 전 | 0

답변 있음
How to create a threshold on a plot?
Example: data_2d=rand(1,20); %Example threshold_val=0.5; binary_array=data_2d>threshold_val % This create a binary array b...

거의 6년 전 | 1

답변 있음
Fourier Series for a Periodic Function
display('Problem 1_Example_17.1') ao=1/4; N = 100000; Wo = pi; t = -1:.001:11; f = zeros(1,length(t)); n =linspace(1,2,le...

거의 6년 전 | 1

| 수락됨

답변 있음
Code take forever to run and output
Sir, I have tested the code with low iteration numbers, say 10 and it is working perfectly. Yes if you consider the iteration nu...

거의 6년 전 | 0

| 수락됨

답변 있음
How to use 'drawnow' to create an animated surface plot from audio measurements taken in a matrix of 10 x 10 microphone positions
for i=1:100 data=rand(10,10); % Choose your incoming audio data here fig=surf(data); grid on; pause(0.1); % Animation s...

거의 6년 전 | 0

답변 있음
Incorrect plot domain when using linspace
plot(x,y); if plot(y);

거의 6년 전 | 0

| 수락됨

답변 있음
3d plot with different length of x and y
As per the you data sizes, following is also allowed contour3(x,y,z'); Note: I presumed that x and y are continously increasin...

거의 6년 전 | 0

| 수락됨

답변 있음
Plotting a specific part of the array
idy1=y1(y1~=y2) idy2=y2(y2~=y1) Results: idy1 = 6 7 8 9 8 7 7 6 idy2 = 4 3 ...

거의 6년 전 | 0

| 수락됨

답변 있음
Find distance between foregrounds of two binary images
Steps: 1.As you already know the indices of all three lines from the 2nd image. If not following is the way [r2 c2]=find(imag...

거의 6년 전 | 0

답변 있음
Removing Reverse Rows in a Permutation Matrix in Matlab
P=perms([1 2 3]); result=P(unique(P(:,2)),:) result = 3 2 1 3 1 2 2 3 1

거의 6년 전 | 0

답변 있음
How to detect the crack and calculate its length ?
[S T]=graythresh(grayImage); bwImage=imbinarize(grayImage,T); SE = strel('diamond',1) bwImage=imerode(bwImage,SE); bwImage=b...

거의 6년 전 | 0

답변 있음
Colors and Symbols for Loop Iteration
#Example: you can set as per your requirements. color_sym={'rx','go','b-','m--'}; for i=1:4 plot(rand(1,10),rand(1,10),c...

거의 6년 전 | 0

답변 있음
spot diameter in imported image
Here are the all pixels, which are greater than 13%*max image_data=rgb2gray(imread('image_test5.jpeg')); max_pix=max(image_dat...

거의 6년 전 | 0

답변 있음
Using GUI to Edit Image
I am providing here the alternate option, now a days I rarely do GUI (Guide option). MATLAB have great appdesigner features, yo...

거의 6년 전 | 1

답변 있음
Cell array summation when arrays are different sizes
"I am trying to some cell arrays containing matrices of different sizes stored at designated index points to arrays. See the bel...

거의 6년 전 | 0

답변 있음
Save loop values in a matrix
If the resultant long and Lat are just numeric number use array to save the data Example iter=1; Long=[]; Lat=[]; while co...

거의 6년 전 | 0

| 수락됨

답변 있음
Creating Matrix based on grouping of elements in cell array
A=de2bi(cell2mat({[1 3],[2],[4 5 6]}),6)

거의 6년 전 | 0

답변 있음
quiver3 not plotting the end point
I dont find any issue, please dont mixed up with the quiver and plot3, see your example quiver3(0,2,4,2,5,7); hold on; quive...

거의 6년 전 | 1

| 수락됨

답변 있음
how can we read matrix step by step in kalman filter
See you have mat variable xt = rand(3,50); if you wish to read thia xt variable matrix column by column then 1 Column=xt(:,1);...

거의 6년 전 | 0

| 수락됨

답변 있음
segmentation medical image irm
Lets say "seg_image" is the segmented image. Once segmentation, all regions have different pixels value, please check the pixel ...

거의 6년 전 | 0

답변 있음
matrix component algebra with digraph
[row,col]=size(A); %Expecting C is 1 D vector and having col number of rows minimum M=zeros(row,col); for i=1:row for j=1:co...

거의 6년 전 | 1

더 보기