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

presque 6 ans il y a | 0

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

presque 6 ans il y a | 0

| A accepté

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

presque 6 ans il y a | 0

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

presque 6 ans il y a | 1

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

presque 6 ans il y a | 1

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

presque 6 ans il y a | 0

Réponse apportée
Convolution of two rectangular signals
conv(sig1,sig2) More about conv

presque 6 ans il y a | 0

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

presque 6 ans il y a | 0

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

presque 6 ans il y a | 0

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

presque 6 ans il y a | 1

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

presque 6 ans il y a | 1

| A accepté

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

presque 6 ans il y a | 0

| A accepté

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

presque 6 ans il y a | 0

Réponse apportée
Incorrect plot domain when using linspace
plot(x,y); if plot(y);

presque 6 ans il y a | 0

| A accepté

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

presque 6 ans il y a | 0

| A accepté

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

presque 6 ans il y a | 0

| A accepté

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

presque 6 ans il y a | 0

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

presque 6 ans il y a | 0

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

presque 6 ans il y a | 0

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

presque 6 ans il y a | 0

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

presque 6 ans il y a | 0

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

presque 6 ans il y a | 1

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

presque 6 ans il y a | 0

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

presque 6 ans il y a | 0

| A accepté

Réponse apportée
Creating Matrix based on grouping of elements in cell array
A=de2bi(cell2mat({[1 3],[2],[4 5 6]}),6)

presque 6 ans il y a | 0

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

environ 6 ans il y a | 1

| A accepté

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

environ 6 ans il y a | 0

| A accepté

Réponse apportée
segmentation medical image irm
Lets say "seg_image" is the segmented image. Once segmentation, all regions have different pixels value, please check the pixel ...

environ 6 ans il y a | 0

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

environ 6 ans il y a | 1

Charger plus