D_coder
Followers: 0 Following: 0
Estadística
34 Preguntas
2 Respuestas
CLASIFICACIÓN
13.174
of 293.527
REPUTACIÓN
3
CONTRIBUCIONES
34 Preguntas
2 Respuestas
ACEPTACIÓN DE RESPUESTAS
41.18%
VOTOS RECIBIDOS
2
CLASIFICACIÓN
of 20.040
REPUTACIÓN
N/A
EVALUACIÓN MEDIA
0.00
CONTRIBUCIONES
0 Archivos
DESCARGAS
0
ALL TIME DESCARGAS
0
CLASIFICACIÓN
of 148.733
CONTRIBUCIONES
0 Problemas
0 Soluciones
PUNTUACIÓN
0
NÚMERO DE INSIGNIAS
0
CONTRIBUCIONES
0 Publicaciones
CONTRIBUCIONES
0 Público Canales
EVALUACIÓN MEDIA
CONTRIBUCIONES
0 Temas destacados
MEDIA DE ME GUSTA
Feeds
Pregunta
cputime() related question
Just a quick question is there a difference between t1 = cputitme(); t2 = cputime(); t = t2 - t1 and t1 = cputtime(); t...
alrededor de 4 años hace | 0 respuestas | 0
0
respuestasPregunta
Perform processing over each row of table starting from first non-zero element in that row
Hello is there a way to perform mean and movmean of each row of the table starting from its first non zero element?
alrededor de 4 años hace | 1 respuesta | 0
1
respuestaPregunta
How do we do operations directly on table elements in matlab?
I am thinking of doing min max normalization of my data where if x is vector the procedure is as follows x = (x- min(x))/(max(x)...
alrededor de 4 años hace | 2 respuestas | 0
2
respuestasPregunta
How do we rotate two different image objects at the same time in a plot
so lets say I have a 3D surf plot with three different surface objects s1, s2, s3 is it possible to use rotate function to rota...
más de 4 años hace | 1 respuesta | 0
1
respuestaPregunta
Why hough transform is detecting only 1 horizontal line in the image ?
Here is my code: sx_norm = sx/max(sx(:)); sx_norm = movmean(sx_norm,5,2); %remove discontinuities by moving average N = size(...
más de 4 años hace | 1 respuesta | 0
1
respuestaPregunta
How do I apply a window on an image to keep the part in the window while reduce the resolution (clarity) of the remaining part of the picture?
Suppose I have an image with three circles and a line as shown below. I want to apply a trapezoidal type window (see dotted line...
más de 4 años hace | 1 respuesta | 0
1
respuestaPregunta
Simplifying complex multiplications by means of polar coordinates
I have a complex matrix A of size and another complex matrix P that has same size as A. But abs(P) = ones(size(M,N)) which ind...
más de 4 años hace | 1 respuesta | 0
1
respuestaPregunta
parallel execution of loop
I have the following structure for i = 1:N %some lines of code for j = 1:M %some line...
más de 5 años hace | 0 respuestas | 0
0
respuestasPregunta
How to add two images excluding simalar elements
The figure below shows two images and their addition. Is there a simple code or a function to avoid adding the highlighted area ...
más de 5 años hace | 1 respuesta | 0
1
respuestaPregunta
Find the interval of an envelope corresponding to a specific peak after peak detection
I have done the peak detection to find the highest peak in the image below. How do I find the interval of the envelope correspon...
más de 5 años hace | 1 respuesta | 0
1
respuestaPregunta
find peaks in a mesh plot
How do I find peaks in a mesh plot and also find its location on the mesh grid?
más de 5 años hace | 2 respuestas | 0
2
respuestasPregunta
Thresholding based on energy
I have an image which is very sparse. I want to threshold the image by retaining a certain amount of energy. What is the most ef...
más de 5 años hace | 1 respuesta | 0
1
respuestaPregunta
Is it possible to perform multiplication and update 'val' inside accumarray?
An accumarray function is defined as A = accumarray(subs,val,sz) I am running accumarray function in a loop , Is it po...
casi 6 años hace | 0 respuestas | 0
0
respuestasPregunta
Is there a function that performs element by element multiplication between two variables and stores in one of the variable by default?
I want to do this operation A = A.*B; Is there a function func(A, B) that multiplies A and B and saves the res...
casi 6 años hace | 2 respuestas | 0
2
respuestasPregunta
Summing of non-zero elements of columns using indexing
I have idx, is there a way of using idx to make the sum(matrix,1) in the below code cheaper. In another words, is it possible to...
casi 6 años hace | 2 respuestas | 0
2
respuestasHI friends, I need a matlab code of economic load dispatch with loss.
Here is one code which I found https://www.mathworks.com/matlabcentral/fileexchange/49456-economic-dispatch-including-losses He...
casi 6 años hace | 0
Pregunta
is there any faster way to operate a group of statements in a loop only once, than applying if else
for ......... statemets 1; statements 2: if iteration == 0 [value1,value2] = function(args1,args2); %dependent on ...
casi 6 años hace | 1 respuesta | 0
1
respuestaHow can I make derivatives with several variables?
You can try this a = a1^2*a2^2; diff(a,a1) + diff(a,a2); ans = 2*a1^2*a2 + 2*a1*a2^2
casi 6 años hace | 1
Pregunta
Sparse for element by element operation
If we want to perform the product of two sparse matrices or sparse and a full matrix , sparse function is very useful as it avoi...
casi 6 años hace | 2 respuestas | 0
2
respuestasPregunta
Sparse and binary mask
I am working on saving computations and speeding up my Matlab code. Here's what I do Perform thresholding on an image and mak...
casi 6 años hace | 3 respuestas | 0
3
respuestasPregunta
saving multiplications with zeros in a loop
%if true for i iterations Matrix = Matrix.*phase %Matrix has lot of zeros I want to skip multiplications with zero. Is it po...
casi 6 años hace | 1 respuesta | 0
1
respuestaPregunta
convert whole code to double
is it possible by anyway to convert whole code to double in a single step? For operations such as sparse single format and integ...
casi 6 años hace | 1 respuesta | 0
1
respuestaPregunta
Calculate values only once in the loop
Suppose I have a code running in a loop I have done some operations and I create a matrix in the loop, that matrix has the sam...
casi 6 años hace | 2 respuestas | 0
2
respuestasPregunta
can anyone tell me an intuitive way of finding number of bins for histcounts function
The binning algorithm used by matlab is very expensive [N,edges] = histcounts(I) Instead I am looking for some different and co...
casi 6 años hace | 1 respuesta | 0
1
respuestaPregunta
why does method 1 result not equal to method 2 result even if both perform the same thing ?
a = [2 5 2 9 ; 3 2 5 0; 4 5 9 2; 1 6 1 5] threshold = 3 %function 1 z = 0; for n = 1: size(a,1) for m = 1...
casi 6 años hace | 1 respuesta | 0
1
respuestaPregunta
How do I threshold the image automatically based on its energy content?
Say my threshold is taking in those components that constitute about 75% of energy of image and making the remaining as zero.How...
casi 6 años hace | 1 respuesta | 0
1
respuestaPregunta
Histogram based thresholding for reduction in computation
i am planning to use histcounts () function for histogram based threshold We know that histogram is a plot of pixel intensity v...
casi 6 años hace | 2 respuestas | 0
2
respuestasPregunta
Getting values of the histogram without actually plotting it
<</matlabcentral/answers/uploaded_files/130633/Screenshot%20(259).png>> Hello, I am working on automatically adjusting the th...
casi 6 años hace | 1 respuesta | 0
1
respuestaPregunta
Difference between graythresh and multithresh for one value of threshold.
graythresh(I) and multithresh(I,1) gives me different values even if both are based on otsu's method of thresholding Why?
casi 6 años hace | 1 respuesta | 0
1
respuestaPregunta
For a loop , to carry out element by element multiplication is bsxfun better than conventional element by element.
for number of iterations A = A.*B; %A and B both are complex end Will the loop be faster if I replace A.*B wit...
casi 6 años hace | 3 respuestas | 1