Community Profile # MementoMori

Last seen: 3 months ago Active since 2022

#### Statistics

• #### Content Feed

View by

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

4 months ago | 1 answer | 0

### 1

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

4 months ago | 2 answers | 0

### 2

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

4 months ago | 1 answer | 0

### 1

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

6 months ago | 1 answer | 0

### 1

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

6 months ago | 0 answers | 0

### 0

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

6 months ago | 1 answer | 0

### 1

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

6 months ago | 2 answers | 0

### 2

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

6 months ago | 2 answers | 0

### 2

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

6 months ago | 1 answer | 0

### 1

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

10 months ago | 1 answer | 1

### 1

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

10 months ago | 1 answer | 0

### 1

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

12 months ago | 1 answer | 0

### 1

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

12 months ago | 1 answer | 0

### 1

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

1 year ago | 1 answer | 0

### 1

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

1 year ago | 2 answers | 0