MementoMori
Followers: 0 Following: 0
Feeds
질문
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개월 전 | 답변 수: 1 | 0
1
답변질문
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...
1년 초과 전 | 답변 수: 1 | 0
1
답변질문
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...
1년 초과 전 | 답변 수: 2 | 0
2
답변질문
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...
1년 초과 전 | 답변 수: 1 | 0
1
답변질문
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...
1년 초과 전 | 답변 수: 1 | 0
1
답변질문
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];...
1년 초과 전 | 답변 수: 0 | 0
0
답변질문
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/...
1년 초과 전 | 답변 수: 1 | 0
1
답변질문
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...
1년 초과 전 | 답변 수: 2 | 0
2
답변질문
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, ...
1년 초과 전 | 답변 수: 2 | 0
2
답변질문
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...
1년 초과 전 | 답변 수: 1 | 0
1
답변질문
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...
대략 2년 전 | 답변 수: 1 | 1
1
답변질문
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...
대략 2년 전 | 답변 수: 1 | 0
1
답변질문
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(...
대략 2년 전 | 답변 수: 1 | 0
1
답변질문
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 ...
대략 2년 전 | 답변 수: 1 | 0
1
답변질문
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 ...
2년 초과 전 | 답변 수: 1 | 0
1
답변질문
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...
2년 초과 전 | 답변 수: 2 | 0
2
답변질문
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...
2년 초과 전 | 답변 수: 2 | 0