Community Profile

photo

YZ


Last seen: mehr als 2 Jahre vor Aktiv seit 2014

Statistiken

  • Thankful Level 3

Abzeichen anzeigen

Content Feed

Anzeigen nach

Frage


How to construct a 3x9 matrix E from a 3x3x3 matrix D, where D(x,y,:) is the column of E?
A = [1 2 3; 4 5 6; 7 8 9]; B = [11 22 33; 44 55 66; 77 88 99]; C = [111 222 333; 444 555 666; 777 888 999]; D = cat(3,A,B,C);...

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to obtain the 3 × 3 symmetric covariance matrix of a 3x1 matrix?
A 3x1 matrix A = [1; 2; 3]. Use function cov and the result is cov(A) = 1. Can A have a 3 × 3 symmetric covariance matrix? Than...

mehr als 2 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


Bayesian for curve fitting
Hi, I am trying to fit the data to a model: _Signal = a*exp(-R1*t)+b*exp(-R2*t)_. The parameters to obtain are R1, R2, a and b. ...

fast 7 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


How to interactively display the size of ROI created by imellipse?
I want to draw a ROI on one image with imellipse and display the size of ROI, so that I can adjust the size of ROI to the desire...

etwa 7 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to combine two or multiple structs with different fields?
A is 1x1 struct, with field a = 'good'. A.a = 'good' B is 1x1 struct, with field a = 'good', and b = 'USA'. B.a = 'good'; B.b...

mehr als 7 Jahre vor | 2 Antworten | 1

2

Antworten

Frage


How to creat a group of struct?
"info_temp" is 1x1 struct with 426 fields. I want to create an array with 50 elements, and each element is 1x1 struct with 426 ...

mehr als 7 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to move fields within 1x1 struct?
A is a 1x1 struct. A.EachFrame is also a 1x1 struct. There are 32 1x1 struct inside A.EachFrame: Item_1 Item_3 ... I...

mehr als 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to sort a 1x1 struct based on the struct in the deep level of the struct?
A is a 1x1 struct. A.EachFrame is also a 1x1 struct. There are 32 1x1 struct inside A.EachFrame: Item_1 Item_3 Item_5 ...

mehr als 9 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


How to generate string without space at the beginning?
FieldsLetter = repmat('Item_',16,1); FieldsDigit = num2str(transpose(2:2:16),'%1d'); Fields = strcat(FieldsLetter, Field...

mehr als 9 Jahre vor | 3 Antworten | 0

3

Antworten

Frage


How to align two images which are only several pixels away in vertical direction?
Hi, Guys, There are two images and they are several pixels away in the vertical (Y) direction. I want to align them automatic...

mehr als 9 Jahre vor | 3 Antworten | 0

3

Antworten

Frage


How to interpolate complex data along one dimension to a larger size?
I have a 200by79 matrix (A) and want to interpolate to a 200by84 matrix (B). They are complex data. I followed the suggestion by...

mehr als 9 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


How to interpolate a 1D array to a larger size?
I have a 1by79 array and want to interpolate to a 1by84 array. Is there a way to do this? I checked interp1 (http://www.mathwork...

mehr als 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to adjust contrast of a figure with 3 subplots simultaneously?
I used the following codes to generate a figure with 3 subplots: h = figure; subplot(1, 3, 1); imagesc(dicom_data(:,:,1)...

mehr als 9 Jahre vor | 1 Antwort | 1

1

Antwort

Frage


How to use command lines to specify displayed pixel values when using imply?
How to use command lines to specify displayed pixel values when using imply? I know we can click Tools -> colormap, and then che...

mehr als 9 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


How to remove an element in an array if this element is smaller than 1?
Hi, Everyone, There are two arrays with the same size. For example: A=[1, 0.5, 2, 0.75, 3, 0.85, 4, 5]; B=[1, 2, 3, 4, 5, 6, ...

mehr als 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to make the ROI show on top of the image after drawing ROI with roipoly?
Hi, Guys, I draw an ROI with roipoly(). After drawing, the blue ROI will disappear. How can I display this ROI on top of the im...

mehr als 9 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


How to generate a ROI matrix in Workspace after copying and pasting an existing ROI on an image (Copy an ROI to another image)
Hi, Guys, I have 2 images with the same size. An ROI was drawn on 1st image. Then I copy this ROI on the 1st image, and then ...

fast 10 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


How to display an existing ROI on an image (Copy an ROI to another image)
Hi, Guys, I have 2 images with the same size. An ROI was drawn on 1st image. I want to display this ROI on 2nd image. The key...

etwa 10 Jahre vor | 1 Antwort | 0

1

Antwort