Feeds
回答済み
While all elements are not equal to NaN
I mean how can I check if all array elements are nan, if my array is an cell array.
While all elements are not equal to NaN
I mean how can I check if all array elements are nan, if my array is an cell array.
6年以上 前 | 0
質問
Add numbers in a plot
I have 10 points with x and y coordinates, and I am plotting circles that center in these coordinates. I need to add the numbers...
6年以上 前 | 1 件の回答 | 2
1
回答質問
Insert an array into another array
I need to insert an array into another array, so that subarray would be like one single element in it, like: A=[2,4,5,[5,6],9] ...
6年以上 前 | 1 件の回答 | 0
1
回答質問
While all elements are not equal to NaN
I have an array and I turn one element to NaN in each iteration until all elements are NaN, like: While (all elements in ar...
6年以上 前 | 2 件の回答 | 0
2
回答質問
create random number with gaussian distribution
I need to create a random number with gaussian distribution and with average value of 0 and var of 1. like N(0,1). and also a N(...
6年以上 前 | 1 件の回答 | 0
1
回答質問
Map an array yo another one
I have an array like: A=[3,5,6,10] and I need to map it to another one like: B=[1,2,3,4] so instead of returning A, I can r...
6年以上 前 | 2 件の回答 | 0
2
回答質問
move all zeros to the right in a matrix
I have a matrix like [1,2,3,0; 0,0,0,1; 8,0,9,0; 4,3,2,1] and I need to move all zeros to the right, and ot...
6年以上 前 | 4 件の回答 | 0
4
回答質問
non convex optmization problem
i have minimization problem with some constraints that I need to solve, it's like: <</matlabcentral/answers/uploaded_files/10...
6年以上 前 | 0 件の回答 | 0
0
回答質問
showing the grayscale matrix
I have a 2D matrix , and I was trying to display it as an image, but the problem is that in the output axes, for all the numbers...
10年以上 前 | 1 件の回答 | 0
1
回答質問
reshape problem in matlab
I have a 2D matrix, which is: h=zeros(65536,1); now when I use the: h = reshape(h, 256, 256); i get the error: To RESHAPE the n...
10年以上 前 | 1 件の回答 | 0
1
回答質問
convert grayscale to rgb
I want to convert a grayscale image to rgb, but I don't want to use the gray2rgb command, I know that the input matrix is 2D, bu...
10年以上 前 | 2 件の回答 | 0
2
回答質問
changing the histogram color
Is there any way to change the color of a histogram?
10年以上 前 | 2 件の回答 | 0
2
回答回答済み
HSV to RGB using entered values
H=im3(:,:,1); S=im3(:,:,2); V=im3(:,:,3); I seprated the hsv values with these commands, now I want to change the hsv values...
HSV to RGB using entered values
H=im3(:,:,1); S=im3(:,:,2); V=im3(:,:,3); I seprated the hsv values with these commands, now I want to change the hsv values...
10年以上 前 | 0
| 採用済み
質問
HSV to RGB using entered values
I have used the rgb2hsv and changed my rgb image to hsv, then asked the user to enter new h and s values .. now I want to create...
10年以上 前 | 2 件の回答 | 0