답변 있음
create vectors associated with each entry of an array and save them in a new matrix
Try W(2*(j-1)+k, :) = linspace(-A(j,k),A(j,k),4)

대략 12년 전 | 0

| 수락됨

답변 있음
How to get a sum of a series
If you want the sum over i for each t, then it's Y = conv(X, A, 'valid');

대략 12년 전 | 1

답변 있음
Undefined function or method 'E' for input arguments of type 'double'. And how to do summation of functions
The value of i is the vector (1:48)/2. That means that the four tests on the value of i don't make sense - they all return false...

대략 12년 전 | 1

답변 있음
3d aray of images to 2d image
A = squeeze(a(1, :, :));

대략 12년 전 | 1

답변 있음
How to deal with 32 bit and 64 bit integers in matlab?
Just convert to double or single, using for example y = sqrt(double(x)); Round the result and convert back to an integer...

대략 12년 전 | 1

| 수락됨

답변 있음
Approximating double integral with only sum of sum and no for loops
How about integral2? There's also a recent blog on double integration which might help you get the most accurate results: http:/...

대략 12년 전 | 0

| 수락됨

답변 있음
is there another data type other then double/single/uint with less memory requirements?
If you need floating point, then single is the smallest data type. The best solution may well be to process the large matrice...

대략 12년 전 | 0

답변 있음
How to label a pixel of color image in region growing ?
I suspect that the value of T is one problem. T is based on the image gray-levels, but it is used to threshold squared gray-leve...

대략 12년 전 | 0

답변 있음
how to calculate the distance between two centers in K-means algorithm?
Depends on how distance and displacement are defined, and also how the centres are represented. Typically though, if you have tw...

대략 12년 전 | 0

답변 있음
Does the curl function in matlab calculates vorticity?
Yes it does. See http://en.wikipedia.org/wiki/Vorticity

대략 12년 전 | 0

답변 있음
data differs by using imwrite
If you are saving the image as a JPEG, or in any other compressible format, then there might be data loss on writing which could...

대략 12년 전 | 0

| 수락됨

답변 있음
User defined function runs without inputs
You say "It is clear that it is not running the file as a function" when you give the name without any arguments. I think this p...

대략 12년 전 | 0

답변 있음
Help definitely needed! How do I load multiple txt files and change the varible names of each to include the date from file
Much better to use arrays rather than having different variable names. Have a look at structure arrays and cell arrays in the do...

대략 12년 전 | 0

| 수락됨

답변 있음
What's wrong with my feature extraction code?
Descrip writes then reads contour.jpg, and then computes the result from that. One way to set about debugging would be to see wh...

대략 12년 전 | 0

답변 있음
How to convert video into Frames
Is it possible for you to upgrade to version 2010b or later? If so, you could use VideoReader. vreader = VideoReader(vidfil...

대략 12년 전 | 0

| 수락됨

답변 있음
How to find signature of the object for the given binary image?
It would help you to look at the documentation for bwboundaries - especially look at the examples. Your problem is that bwbo...

대략 12년 전 | 0

답변 있음
How to create an empty array of structs?
For a description of the different kinds of empty structs, and a function that allows you to create each kind easily, see my Fil...

대략 12년 전 | 0

답변 있음
'Subscripted assignment between dissimilar structures' thrown on empty struct
For some discussion of the different kinds of empty struct arrays, and also for an easy way to initialize struct arrays that are...

대략 12년 전 | 0

제출됨


emptyStruct
Creates empty struct arrays of various kinds

대략 12년 전 | 다운로드 수: 4 |

5.0 / 5

제출됨


Max and min keeping NaNs
The max and min functions ignore NaN values. These functions keep them like arithmetic functions do.

대략 12년 전 | 다운로드 수: 1 |

0.0 / 5

문제를 풀었습니다


Number of Horns on a unicorn!
Calculate the number of horns on a *unicorn*! And I'm talking about a unicorn with not more than one horn on it!

13년 초과 전

문제를 풀었습니다


Multiply 2 numbers
Very easy, you just have to multiply 2 numbers but you cannot use the following signs (*, /, - ,^) ,mtimes , times, cross, pro...

13년 초과 전

답변 있음
Image Analysis - Measuring change in roi for an image array
I'm not exactly sure what you mean by "roi" here, but the starting point would normally be to try thresholding followed by measu...

거의 14년 전 | 0

답변 있음
Suggested starting point in real time image processing
I hope you have a the image acquisition toolbox. Make sure you use callback functions that are triggered every few frames, and n...

거의 14년 전 | 0

답변 있음
Canny Edge Detection - Automatic/Adaptive Thresholding
The documentation ought to be explicit about points like this! I think you could reasonably put in an enhancement request. Wh...

거의 14년 전 | 0

답변 있음
Call a Matlab function
while 1 your_function(); end The () is not necessary as there are no arguments, but I think they make the code easi...

거의 14년 전 | 1

| 수락됨

답변 있음
The problem about dir function
You could do something like this: dstruct = dir('*.png'); names = {dstruct.name}; maxlen = max(cellfun(@length, names...

거의 14년 전 | 0

답변 있음
how to find correlation between two columns, selecting rows on the basis of third column
I'm not sure what you mean by column A possibly being empty. Anyway, assuming that it contains the categories, you select the va...

거의 14년 전 | 1

| 수락됨

답변 있음
creating matrix of 1 nd -1
Assuming that you want values of 1 and -1 only, you can do 2*randi(2, m, n) - 3

거의 14년 전 | 0

답변 있음
matrix decision
I think you need y1=14400./d;%estimation y2=(0.0001759./(d.^2)).*(2-2*cos(9046./d)); but I see this gives a very big ...

거의 14년 전 | 0

| 수락됨

더 보기