Feeds
질문
How to assign the first element of each cell in a cell aray using a matrix
Hi I have a cell array A with size m x n, where each cell contains a vector of random size. Now I would like to assign the firs...
대략 3년 전 | 답변 수: 1 | 0
1
답변질문
How to compute uv coordinates for an arbitrary quad?
Hi For a regular grid, it is quite straightforward to get the uv coordinates for any given pixel in an image. However, for an a...
3년 초과 전 | 답변 수: 1 | 0
1
답변질문
How to select multiple edit fields?
Hi, In my user interface, users can specify a dimension, for exam m x n, then I draw a m x n table, where each element is an e...
거의 4년 전 | 답변 수: 1 | 1
1
답변질문
How to index with a changing index
Hi, I would like to construct a matrix L of size nxn that looks like below: L = [a,b,c,0,0,0,0,... 0,a,b,c,0,0,0,... ...
거의 4년 전 | 답변 수: 1 | 0
1
답변질문
How to index array with an array?
Hi I want to index an element in an array. The array u can be 1D, 2D or 3D, and I have an index id which is 1D, 2D or 3D. I'm cu...
거의 4년 전 | 답변 수: 1 | 0
1
답변질문
How to avoid using eval in this case?
Hi, I read in multiple threads that the usage of the function eval should be avoided as much as possible. But in the following c...
거의 4년 전 | 답변 수: 1 | 0
1
답변질문
How to make uicontrol edit box only show the text when needed?
Hi, I have a uicontrol edit box. When nothing is entered, by default, the edit box looks empty. Now I would like to add an addit...
거의 4년 전 | 답변 수: 1 | 0
1
답변질문
How to apply spatially-varying blur to an image?
Hi I have an image of size 128x128, and an associated a blur map, where each element defines the size of the blur kernel. How c...
대략 5년 전 | 답변 수: 1 | 0
1
답변질문
How to only replot part of a graph?
Hi I'm currently plotting cubic bezier splines. My aim is that every time I move a control point, the bezier curve moves accod...
대략 5년 전 | 답변 수: 1 | 0
1
답변답변 있음
Unrecognized property 'LabelTextColor' for class 'images.roi.Point'
The problem is solved when switching to 2020b. Thank you very much for all your help!
Unrecognized property 'LabelTextColor' for class 'images.roi.Point'
The problem is solved when switching to 2020b. Thank you very much for all your help!
대략 5년 전 | 0
| 수락됨
질문
How to fit ascending data with piecewise linear function?
Hi, I have a vector r sorted in asending order. Now I would like to fit this r with m+1 pieces, and extract the m internal poin...
대략 5년 전 | 답변 수: 1 | 0
1
답변질문
Unrecognized property 'LabelTextColor' for class 'images.roi.Point'
Hi, on the official website of matlab: https://uk.mathworks.com/help/images/ref/drawpoint.html#mw_d573bdc7-78b6-41f4-8ee9-c545...
대략 5년 전 | 답변 수: 2 | 0
2
답변질문
How to only change part of the background color?
Hi, I have a figure as my ui. Now I would like to plot something in the middle of the ui: axes('Position',[.7 .7 .2 .2]) set (...
대략 5년 전 | 답변 수: 1 | 0
1
답변질문
Why conv2 gives opposite sign
Hi, I have a simple matrix I: I = [1,2,3,4,5; 6,7,8,9,10; 11,12,13,14,15; 16,17,18,19,20; 21,22,23,24,25] ...
대략 5년 전 | 답변 수: 2 | 0
2
답변답변 있음
How to stick one figure to the center of another figure
I figured out a quick solution. Simply change the last part as: figure(1) imshow(img) No need to copy the object.
How to stick one figure to the center of another figure
I figured out a quick solution. Simply change the last part as: figure(1) imshow(img) No need to copy the object.
대략 5년 전 | 0
질문
How to stick one figure to the center of another figure
I have a main figure f with size 1200 x 800 working as my UI. I created another figure f2 of size 512x512 which presents an imag...
대략 5년 전 | 답변 수: 2 | 0
2
답변질문
Is there a way to input direction in matlab UI
Hi, I would like to let users to click on an image and input the normal vector of the pixel. Is there a way to let the users inp...
대략 5년 전 | 답변 수: 0 | 0
0
답변질문
How to repeat different vectors to form another vector?
Hi I would like to construct a vector as: 1,2,3,1,2,3,1,2,3,4,5,6,4,5,6,4,5,6.....k-2,k-1,k,k-2,k-1,k i.e. repeat [1,2,3], [4,...
대략 5년 전 | 답변 수: 2 | 0
2
답변질문
How to plot images with different sizes in one figure?
I have 5 images and I would like to plot them like: fig1 fig2 fig3 fig4 fig5 i.e. I would like to have two rows, the fir...
5년 초과 전 | 답변 수: 1 | 0
1
답변질문
2d convolution returns empty result
I have an image matrix of size 512x512x3, for each pixel I would like to compute its weight as the average of the neighbouring p...
5년 초과 전 | 답변 수: 1 | 0
1
답변질문
How to use 2D logical mask on an image without for loop?
I have two image matrices A and B with size 512 x 512 x 3, and a logical mask of size 512 x 512. For each position with true val...
5년 초과 전 | 답변 수: 1 | 0
1
답변질문
How to change plot figure resolution
I have a few points originally designed for 512x512 resolution, such as [128,450] and [336, 500]. When plotting them, I initiall...
5년 초과 전 | 답변 수: 1 | 0
1
답변질문
How to know which pixels are covered by a plot?
Hi, I plotted a few curves on a 512 x 512 figure (each curve has 32 points). How could I know which pixels are covered with the ...
5년 초과 전 | 답변 수: 1 | 0
1
답변질문
How to set default background for figures to be negative
I'm currently using matlab's rasterization functionality. After I plot a curve, I saved the whole image to a matrix using img =...
5년 초과 전 | 답변 수: 0 | 0
0
답변질문
How to interpolate color along a curve with specific colors?
Hi, I have a curve of dimension 50x2, and a specification of the colors at certain positions. For example, at position 1 the col...
5년 초과 전 | 답변 수: 1 | 0
1
답변질문
Figure automatically scales by 2
Hi, I set my figure as below: figure(1) set(gcf,'units','pixels','position',[0,0,512,512]); However, the popped figur...
5년 초과 전 | 답변 수: 0 | 0
