Community Profile

photo

HYZ


Last seen: 10 Tage vor Aktiv seit 2019

Professional Interests:

Statistics

  • Thankful Level 4

Abzeichen anzeigen

Content Feed

Anzeigen nach

Frage


0.48 and 0.72 not detected in the array
Hi, I have attached varmat.mat. In this array, I can find any other elements in the array using find (SessionData.CoherenceType...

10 Tage vor | 1 Antwort | 0

1

Antwort

Frage


Remanding integer from exponential distribution with mean
Hi, I found out exprnd() can generate random number from exponential distribution function with mean. Could anyone suggest how t...

etwa ein Monat vor | 1 Antwort | 0

1

Antwort

Frage


Outputs for function in class method
Hi, I have a script with classdef and method. the below is the structure of the script. I woud like to create mymatrix from...

3 Monate vor | 1 Antwort | 0

1

Antwort

Frage


converting coordinates into pixel
Hi, I have a 3D vector attached here (Mydots.mat). the first dimension is the number of spots, the second is the x,y coordinate...

3 Monate vor | 1 Antwort | 0

1

Antwort

Frage


converting uint8 to double in a faster way
Hi, I would like to convert to uint8 array to double. I attached the struct temp.mat here which contains unit8 for 60 frames. i...

3 Monate vor | 2 Antworten | 0

2

Antworten

Frage


simulate a keypress in a loop
Hi, I want to simulate a keypress to trigger a new trial on Psychopy. the first keypress did work to trigger but the subsequent...

4 Monate vor | 0 Antworten | 0

0

Antworten

Frage


Exiting: Maximum number of function evaluations has been exceeded
Hi, I used ezyfit for gaussian functions. I got such errors. Exiting: Maximum number of function evaluations has been exceede...

5 Monate vor | 1 Antwort | 0

1

Antwort

Frage


checking folder has more than one file with similar name
Hi, I want to check if a folder has files starting with same name. Eg in a folder, there are files ('test01.mat' , 'test02.ma...

5 Monate vor | 1 Antwort | 0

1

Antwort

Frage


Adding polar plot to axes is not supported
Hi, The code works most of the time. sometimes, it showed error "Adding polar plot to axes is not supported" and I closed the ...

5 Monate vor | 1 Antwort | 0

1

Antwort

Frage


Curve fitter app with custom function
Hi, I have a gaussian function y=A*exp(-(x-mu).^2/(2*sigma^2)). I want to use custom equation in curve fitter. The default sett...

5 Monate vor | 1 Antwort | 0

1

Antwort

Frage


only saving last image
hi, this is my code. Figures are plotted correctly but only the last " i " image was saved for all iterations. Please advise whi...

5 Monate vor | 1 Antwort | 0

1

Antwort

Frage


transparent grey bar on graphs
Hi, I would like to draw a grey bar to emphasize when the signals were triggered like in the picture. Should I use patch functio...

5 Monate vor | 1 Antwort | 0

1

Antwort

Frage


saving in new folder by using saveas
hi, this is my code. I would like to save all images from saveas into polar plots folder which was created in the current direct...

5 Monate vor | 1 Antwort | 0

1

Antwort

Frage


finding mean in 3D cell array
hi, I have a cell B which is 2x3x2. B( :, :, 1) = A; B( :, :, 2) = A; A = {[1,2,3, 4] [5,6,7,8] [9,10,11,12] ; [4,3,2,...

5 Monate vor | 1 Antwort | 0

1

Antwort

Frage


calculate mean each element in each cell in a cell array
hi, I have a cell A = {[1,2,3, 4] [5,6,7,8] [9,10,11,12] ; [4,3,2,1] [8,7,6,5] [12,11,10,9]}. I wanted to average ...

5 Monate vor | 1 Antwort | 0

1

Antwort

Frage


splitting Cell array in a loop
Hi, I want to split X into Y, a 1 x 4 cell. Y will be {[1:8]} {[9:16]} {[17:24]} {[25 32]}. thanks. X = 1:32; Y = cell (1,4);...

5 Monate vor | 1 Antwort | 0

1

Antwort

Frage


fitting a customised guassian equation to the curve
Hi, I have X, Y so I can plot (X,Y). I have a customised gaussian equation σ ⋅ sqrt(2 * log(2)). Please suggest how I can...

5 Monate vor | 1 Antwort | 0

1

Antwort

Frage


removing values, connect lines and change thickness of border in a polar plot
Hi, I used polarplot function. (i) I would like to remove the rho values suchas 0, 100, 200, 300. (ii) I also want to draw a...

5 Monate vor | 1 Antwort | 0

1

Antwort

Frage


Fusing one rgb image with one grayscale image using imfuse function
Hi, I used imfuse to combine one rgb image with one grayscale image. After fusing, the rgb image became dimmer. Please suggest h...

7 Monate vor | 1 Antwort | 0

1

Antwort

Frage


open .seq files
Hi, I have installed Piotr toolbox from https://pdollar.github.io/toolbox/ to open .seq file. Then I tried to open .seq file on...

9 Monate vor | 0 Antworten | 0

0

Antworten

Frage


Plot power spectrum from FFT
Hi, I want to plot power spectrum using FFT. I use the below code but I didn't get the spectrum and instead I got the below gra...

10 Monate vor | 0 Antworten | 0

0

Antworten

Frage


draw line graphs connecting two points
Hi, I want to draw somthing like this. Can I know how to connect two points? thanks.

mehr als ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


fprintf a cell array
I have a cell array with columns of different lengths. I want to fprintf each column into different columns in excel. Please h...

mehr als ein Jahr vor | 0 Antworten | 0

0

Antworten

Frage


Linear transformation 2D
Hi, I have two vectors for x and y coordinates. x = [-2, -1, 1]; and y = [-3, 0, 1]. the black dots are position values record...

mehr als 2 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


replacing element which are <= previous element with NaN
Hi, I have a vector x = [1 2 3 4 3 2 3 4 6 8 5 5 6 8.5 9 11 12 ]; I want to replace any element which are less than or eq...

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


saving images in loop
Hi, frateMaps is a cell array. I would like to save images for each vector in frateMaps. I could see the images for each loop ...

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


keep element greater than immediate previous element
Hi, x = [1 2 3 4 3 2 3 4 6 8 5 5 6 8.5 9 11 12 ]; I want to keep one vector whereby the next element is greater than th...

mehr als 2 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


Error for exceeding the loop
Hi, I have d = {[5:10] [20:30]}; e = [1 2 7 8 9 11 12 15 16 22 25 30 35 40 45]; I want to extract values from e which falls i...

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


cell array in a cell array inexing
Hi, a = { [1:30] }. A {1} = { [1 2 3] [11 12 13] [21 22 23] }. A is resulted from a by extracting values from a. b = { [41...

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Indexing problem based on value?
Hi, I encountered a strange problem. For A= [5 4 3 2 1 0 1 2 3 4 5]; I can't do B = A(1): A(6). The return is 1×0 empty doub...

mehr als 2 Jahre vor | 2 Antworten | 0

2

Antworten

Mehr laden