photo

MementoMori


Last seen: 17 giorni fa Attivo dal 2022

Followers: 0   Following: 0

Statistica

  • Thankful Level 3

Visualizza badge

Feeds

Visto da

Domanda


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...

circa un anno fa | 1 risposta | 0

1

risposta

Domanda


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...

oltre un anno fa | 1 risposta | 0

1

risposta

Domanda


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...

oltre un anno fa | 2 risposte | 0

2

risposte

Domanda


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...

oltre un anno fa | 1 risposta | 0

1

risposta

Domanda


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...

oltre un anno fa | 1 risposta | 0

1

risposta

Domanda


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];...

oltre un anno fa | 0 risposte | 0

0

risposte

Domanda


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/...

oltre un anno fa | 1 risposta | 0

1

risposta

Domanda


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...

quasi 2 anni fa | 2 risposte | 0

2

risposte

Domanda


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, ...

quasi 2 anni fa | 2 risposte | 0

2

risposte

Domanda


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...

quasi 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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...

circa 2 anni fa | 1 risposta | 1

1

risposta

Domanda


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...

circa 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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(...

circa 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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 ...

circa 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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 ...

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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...

oltre 2 anni fa | 2 risposte | 0

2

risposte

Domanda


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...

quasi 3 anni fa | 2 risposte | 0

2

risposte