Feeds
提问
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);...
3 years 前 | 1 个回答 | 0
1
个回答提问
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...
3 years 前 | 2 个回答 | 0
2
个回答提问
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. ...
7 years 前 | 0 个回答 | 0
0
个回答提问
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...
7 years 前 | 1 个回答 | 0
1
个回答提问
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...
8 years 前 | 2 个回答 | 1
2
个回答提问
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 ...
8 years 前 | 1 个回答 | 0
1
个回答提问
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...
10 years 前 | 1 个回答 | 0
1
个回答提问
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 ...
10 years 前 | 0 个回答 | 0
0
个回答提问
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...
10 years 前 | 3 个回答 | 0
3
个回答提问
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...
10 years 前 | 3 个回答 | 0
3
个回答提问
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...
10 years 前 | 0 个回答 | 0
0
个回答提问
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...
10 years 前 | 1 个回答 | 0
1
个回答提问
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)...
10 years 前 | 1 个回答 | 1
1
个回答提问
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...
10 years 前 | 0 个回答 | 0
0
个回答提问
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, ...
10 years 前 | 1 个回答 | 0
1
个回答提问
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...
10 years 前 | 2 个回答 | 0
2
个回答提问
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 ...
10 years 前 | 0 个回答 | 0
0
个回答提问
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...
10 years 前 | 1 个回答 | 0