photo

MementoMori


Last seen: 7 jours il y a Actif depuis 2022

Followers: 0   Following: 0

Statistiques

  • Thankful Level 3

Afficher les badges

Feeds

Afficher par

Question


General distribution generator, Poisson distribution and correlation?
Context: I am a PhD student in physics, and I am trying to simulate some physical processes with particular statistics. In part...

11 mois il y a | 1 réponse | 0

1

réponse

Question


Change how numbers are visualized with imagesc?
Hi, with figure,imagesc I visualize the scale like "scale" but I want to visualize with "0.02, 0.015, 0.01 ..." without "x10...

plus d'un an il y a | 1 réponse | 0

1

réponse

Question


Extract values from a fig file?
Hi, I have a file like "Example.fig" that contains a picture and I want to extract the values of each pixel and put them in a m...

plus d'un an il y a | 2 réponses | 0

2

réponses

Question


Creating plot with 2 x axes from property inspector?
Hi, I want to create a plot with two x axes, one on the bottom of the graph and the other one on the top. Given a plot how can...

plus d'un an il y a | 1 réponse | 0

1

réponse

Question


from figure file to mat file?
Hi, I have saved a fig file and now I want to do some operation on it. I have tried example=load("name.fig",'-mat'); but it do...

plus d'un an il y a | 1 réponse | 0

1

réponse

Question


sub2ind with 3D matrix?
given a code, for example, like this A=rand(10,10); indX(:,:,1)=[2,3;1,6]; indX(:,:,2)=[2,5;2,6]; indY(:,:,1)=[4,6;2,3];...

plus d'un an il y a | 1 réponse | 0

0

réponse

Question


speed up a code, subindex for 4-d matrix?
Hi, in my code I need to do this operation, for a = 1:h for b = 1:h ind=sub2ind(size(I), centriX+a - h/...

plus d'un an il y a | 1 réponse | 0

1

réponse

Question


Sum two matrices shifted by a non integer number?
Suppose we have two matrices A and B, and I want to sum them shifted by a non-integer number of pixels. How can I do it? For ex...

plus d'un an il y a | 2 réponses | 0

2

réponses

Question


Select pixels from a matrix given the centers ?
Suppose we have a given matrix (I) and a structure containing some centers of the matrix before. For example: In this case, ...

plus d'un an il y a | 2 réponses | 0

2

réponses

Question


Select values of a matrix given a matrix of indices?
Hi, suppose we have a matrix A=rand(10,10); Now I have two matrices: x=[2,3;5,7]; y=[4,6;1,2]; Now I want to create a new m...

plus d'un an il y a | 1 réponse | 0

1

réponse

Question


Matlab energy consumption greater than charger?
Hi, during my simulation even if my laptop is connected to the charger it looses charge due to the simulation that I run on matl...

environ 2 ans il y a | 1 réponse | 1

1

réponse

Question


GPU0 and GPU1 in matlab?
Hi, I am trying to optimize my code and I use gpu array. In matlab I see this gpu but in my pc I have two gpu: do you k...

environ 2 ans il y a | 1 réponse | 0

1

réponse

Question


imread slower with huge tif files
Images1=zeros(128,128,20000); Images2=zeros(200,200,20000); len=20000; for k=1:len k Images1(:,:,k) = double(...

environ 2 ans il y a | 1 réponse | 0

1

réponse

Question


Given a center, sum adjacent pixels
Hi, suppose I have a matrix A and I have a center (for example (10.3,14.6)). Now I want to calculate the value of the center in ...

environ 2 ans il y a | 1 réponse | 0

1

réponse

Question


ifft2 with "symmetric option"
Hi, I am looking at "ifft2" in matlab ( https://it.mathworks.com/help/matlab/ref/ifft2.html#bvjz37f-symflag ) and it introduces ...

plus de 2 ans il y a | 1 réponse | 0

1

réponse

Question


Arrayfun with multiple variable?
Hi, probably this question has already received answers but what I found don't solve my problem. I know that I have a functi...

plus de 2 ans il y a | 2 réponses | 0

2

réponses

Question


Simple mex file crash?
Hi I am studying mex files. I am trying to write a simple mex file that does a sum of two elements. #include "mex.h" void me...

plus de 2 ans il y a | 2 réponses | 0

2

réponses