Answered
xcorrelation of fully uncorrelated signals
web([docroot '/toolbox/dsp/ref/correlation.html']) or web([docroot '/toolbox/signal/ref/xcorr.html'])

14 years ago | 0

Answered
VideoReader won't read videos created by VideoWriter
Can you read other avi files? Perhaps the stock _'rhinos.avi'_? v = VideoReader('rhinos.avi'); R = v.read; implay(R)

14 years ago | 0

Answered
how can i create an M-file to calculate Vietes sums?
<http://matlab.wikia.com/wiki/FAQ#How_can_I_create_variables_A1.2C_A2.2C....2CA10_in_a_loop.3F FAQ>

14 years ago | 0

| accepted

Answered
What to do when Matlab R2011b crashes and does not restart?
You can try starting it with |-nojvm|, i.e. from Windows command prompt: matlab -nojvm Run it, do some basic calculation...

14 years ago | 1

Answered
fmincon satisfying constraints
You say that there are intermediate steps that violate the bounds. But does the solution lie with in them? If so, I would haza...

14 years ago | 0

Answered
How to check whether variables lie with in the region?
Don't use 10 variables, use 1-1x10 vector: <http://matlab.wikia.com/wiki/FAQ#How_can_I_create_variables_A1.2C_A2.2C....2CA10_...

14 years ago | 0

| accepted

Answered
GUI figure focus
What is _hObject_ in the above line? I am going to hazard guess that it is not the axes. Can you put a break point right befor...

14 years ago | 0

Answered
Image analysis does not work
I would recommend checking the release notes to see what has changed: <http://www.mathworks.com/help/doc-archives.html Older ...

14 years ago | 1

Answered
Older, legacy toolboxes
You can download any version of a toolbox or MATLAB release if you have a professional version of MATLAB and the maintenance sub...

14 years ago | 0

| accepted

Answered
positive-definiteness of a huge sparse matrix
<http://www.mathworks.com/support/solutions/en/data/1-WQKKX/index.html>

14 years ago | 0

Answered
Nonlinear Regression with Errors in X and Y
That looks like a multiple linear regression to me. doc polyfit

14 years ago | 0

Answered
Detection Of water bodies from rest of the image
I = your_image; for ii = size(I,1):-1:1 for jj = size(I,2):-1:1); water(ii,jj) = isWet(I(ii,jj,:)) en...

14 years ago | 5

| accepted

Answered
Optimizing Clustering of Array Elements
Don't do this: % Update Index And Data inputArray(tfCluster)=[]; index(tfCluster)=[]; Changing the s...

14 years ago | 0

| accepted

Answered
maximum area
Ibw = your_binary_image_to_get_the_area_of; CC = bwconncomp(Ibw); max_area = max(cellfun('prodofsize',CC.PixelIdxList));

14 years ago | 0

Answered
Login and password in matlab
You could use |pcode| to pcode your *.m file that does the check. doc pcode

14 years ago | 0

Solved


Sum all integers from 1 to 2^n
Given the number x, y must be the summation of all integers from 1 to 2^x. For instance if x=2 then y must be 1+2+3+4=10.

14 years ago

Answered
handling filename containing spaces
Ahh! Difference between _FileName_ and _FileName_in_. The issue has nothing to do with spaces.

14 years ago | 1

Answered
Transforming a square image to an image of curved sides
Part 5 of: showdemo mapexgeo Maybe? Does the code you have right now work as you expect but is just slow? If it is, po...

14 years ago | 0

| accepted

Answered
What is it better?
The second one. Every computation you can pull outside fo a for-loop is a good thing! Also note this can be easily vectorize...

14 years ago | 1

| accepted

Answered
vector subtraction
Because |diff| does q(2)-q(1),q(n)-q(n-1). doc diff for more info. To correct it, just take the negative. dqf = -d...

14 years ago | 0

| accepted

Answered
solve a differential equations system with DSOLVE
Did you define those variables as |syms|? syms Tg Tpv Tf Tf2 first.

14 years ago | 0

Answered
How can I write a program that can display the first 50 consecutive prime numbers starting with 2?
for ii = 1:inf nguess = ii; mat = tril(bsxfun(@times,2:nguess,(2:nguess).')); pn = setdiff(2:nguess,mat(logical...

14 years ago | 0

| accepted

Answered
Reshape and Repmat neatly
What is wrong with |reshape| and |repmat|? Reshape is extremely fast and some form of |repmat| is necessary since you want that...

14 years ago | 1

Answered
carry value of variable in other function
<http://matlab.wikia.com/wiki/FAQ#How_can_I_share_data_between_callback_functions_in_my_GUI.3F Share data between GUI callbacks>...

14 years ago | 0

| accepted

Answered
run returned function handle in one row
I think the *most* aesthetic and *best* option is to split it into two rows.

14 years ago | 0

Answered
2D to 3D
cat(3,I1,I2,I3) doc cat for more info

14 years ago | 1

Answered
Seeking help to automate a simple process if possible
<http://matlab.wikia.com/wiki/FAQ#How_can_I_process_a_sequence_of_files.3F How do I process a sequence of files?>

14 years ago | 0

Answered
How can I test a successful installation of MATLAB?
Does: ver work and what is the output of it? Does the output match what you intended to install?

14 years ago | 0

Answered
error-creating gui
<http://matlab.wikia.com/wiki/FAQ#How_can_I_share_data_between_callback_functions_in_my_GUI.3F How do I share data between callb...

14 years ago | 0

Answered
Search string pattern
doc strfind doc regexp doc regexprep

14 years ago | 0

Load more