回答済み
find most frequent characters in a string
One way to get the commonest n characters, in descending order of frequency: >> str = 'hello world'; >> n = 5; % number of...

14年以上 前 | 1

回答済み
Segment Vehicles in crowded scene.
I suggest that you approach this by trying to generate a background image from the video. You are able to segment the images whe...

14年以上 前 | 1

| 採用済み

回答済み
Feeding a vector to a cost function
How about CostFunction(vector(:,1), vector(:,2)) though whether this is useful depends on what you want to achieve.

14年以上 前 | 0

回答済み
How to make intensity attenuated image or defocused image
Your question is not very clear, but I think you want to know how to take a focused image and generate a new image that simulate...

14年以上 前 | 0

| 採用済み

回答済み
Represent an image as vector
vector = img(:);

14年以上 前 | 0

回答済み
Sobel Edge Thresholds
I think there are two problems here. The first is that it's not clear exactly what the Sobel option in edge() really does, as...

14年以上 前 | 0

送信済み


Image correspondences using cross-correlation
Find matching features in pairs of images using normalised cross-correlation: class file and demo.

14年以上 前 | ダウンロード 6 件 |

5.0 / 5
Thumbnail

回答済み
IFFT21
Yes. Use ifftshift before ifft2.

14年以上 前 | 0

送信済み


Extended Brookshear Machine emulator and assembler
Emulator and assembler for a simple computer, a teaching aid for computer science courses.

14年以上 前 | ダウンロード 2 件 |

0.0 / 5
Thumbnail

回答済み
First and second derivative of the function using fft?
See my answer to <http://www.mathworks.co.uk/matlabcentral/answers/16141 this question>.

14年以上 前 | 0

| 採用済み

回答済み
CELL2CSV
Maybe you were using <http://www.mathworks.com/matlabcentral/fileexchange/7601-cell2csv this file exchange contribution>. It's u...

14年以上 前 | 0

回答済み
SIFT feature extraction, Knowledge base classifier
Have a look at <http://vision.ucla.edu/~brian/papers/vedaldi10vlfeat.pdf VLFeat>.

14年以上 前 | 0

| 採用済み

回答済み
reaaranging filesnames
You can sort the filenames into the order you require like this. First, all the filenames need to be a cell array. Their orde...

14年以上 前 | 0

回答済み
Slope Magnitude Technique with Sobel Operator
As Walter says, it's not clear what you mean by extracting shape. I'm also not sure whether you want help in implementing the th...

14年以上 前 | 0

| 採用済み

回答済み
JPG to RGB image?
JPEG images are read directly as rgb - so there's no map. So you don't need the call to ind2rgb (or the second result from imrea...

14年以上 前 | 0

回答済み
Log gabor filter
This looks good: <http://www.csse.uwa.edu.au/~pk/research/matlabfns/PhaseCongruency/Docs/convexpl.html>

14年以上 前 | 0

回答済み
Circular window
*EDIT*: Deleted request for additional information. Modified reference to original question. Added suggested code. This relates...

14年以上 前 | 1

| 採用済み

回答済み
with this code, im trying to display the results for (y0-y100). But im always getting the error. need help on this.thanks
In MATLAB, indices start from 1. The first time through the loop, the code tries to do this: y(1) = y(0)*1; but there is no ...

14年以上 前 | 0

回答済み
Interpret string to form sequence of numbers
Could you ask the user to enter 4:9 instead of 4-9, and 12:2:20 instead of 12-20(2)? If so (and also if you can trust the user n...

14年以上 前 | 2

| 採用済み

回答済み
using classdef, is it possible to mix run-time data access through the dot syntax with methods elegantly?
"Elegantly" is hard to do in this context, I think. There's some discussion of this kind of issue <http://www.mathworks.co.uk/ma...

14年以上 前 | 0

| 採用済み

回答済み
Writing matlab function to go through all the elements of its input
It's just z = hypot(x, y); The function automatically operates on all the x,y pairs and returns a matrix of the results....

14年以上 前 | 1

回答済み
converting data from minutes to hours
>> data_minute = rand(180, 1); % synthetic data >> data_hour = mean(reshape(data_minute, 60, []))

14年以上 前 | 0

| 採用済み

回答済み
Sliding a circular window on an image for feature extraction...
If you know how to work with a sliding rectangular window, but you need to use a circular window instead, it might help to learn...

14年以上 前 | 0

回答済み
Smoothing the edges of an image
If you use the edge() function, try the 'canny' option and adjust the sigma parameter to give edges as smooth as you need them.

14年以上 前 | 3

| 採用済み

回答済み
??? Improper assignment with rectangular empty matrix.
I suspect your problem is that this line: X=x(1+(i-1)*step:seg+(i-1)); should read X=x(1+(i-1):step:seg+(i-1));

14年以上 前 | 0

回答済み
renaming a cell
naming(1) is a cell, but naming{1} is a string. *EDIT*: added example >> naming = {'data1', 'data2', 'data3', 'data4'...

14年以上 前 | 0

回答済み
starting with oop
You need to replace obj.t1=myclass.p(arg1); with obj.t1=myclass.pi(arg1); You're making the (I suspect quite com...

14年以上 前 | 0

回答済み
folder in a directory
It's perhaps worth noting that 'folder' and 'directory' mean the same thing. Anyway, do you want something like this: files...

14年以上 前 | 2

回答済み
calling method (and sum'ing answer) on every class instance in a matrix
sum(arrayfun(@(x) GetTotal(x), myCollection))

14年以上 前 | 0

| 採用済み

回答済み
Help with function dealing with struct and importing data.
I think the instruction about attaching the text file just means that you submit both the m-file (containing your code) and the ...

14年以上 前 | 0

| 採用済み

さらに読み込む