Answered
how to change angle of line in image
Look at some of the interpolation options in: doc imrotate And perhaps try a different one. You could also dilate t...

14 years ago | 0

Answered
Check if matrix has two identical rows
doc unique specifically look at the _'rows'_ option.

14 years ago | 0

Answered
Fitting multiple planes- multiple regression
If you have the Curve Fitting Toolbox, take a look at the surface fitting tool. doc sftool %gui - fancy and fun and ...

14 years ago | 0

Answered
workspace to matrix
Fairly similar to: <http://matlab.wikia.com/wiki/FAQ#How_can_I_create_variables_A1.2C_A2.2C....2CA10_in_a_loop.3F FAQ:4.6>

14 years ago | 0

Answered
Disabling Ctrl+C in a GUI
Although there's no way to disable it, you can keep stuff running even if it is called using a |timer| to execute your tasks. E...

14 years ago | 0

Answered
The size of largest matrix that can be inverted
With a 64 bit machine and a lot of RAM, it can be pretty big. Fortunately, you almost never have to take it. Please read Loren...

14 years ago | 0

Answered
Reading Time/Dates from Excel
How is the date stored in your structure T? When I run: datenum('11/9/2010') the conversion works: ans = 734451 ...

14 years ago | 0

Answered
why I often get (in red) the following message in Matlab
Please contact us at tech support. <http://www.mathworks.com/support/contact_us/index.html>

14 years ago | 0

Answered
Implicit Functions and Iterative Processes in Hydraulics
Some recommended reading: <http://www.mathworks.com/matlabcentral/fileexchange/8553-optimization-tips-and-tricks> Number...

14 years ago | 0

Answered
create and rotate a line up to a convex polygon vertex
So to calculate you're angle, v1 will always be a unit vector vertical: v1 = [0 1 0]; v2 needs to be turned into a unit vect...

14 years ago | 1

| accepted

Answered
detect square in image
Those squares are very well defined. * Set a less than threshold to make the dark colors true and everything else false. ( |...

14 years ago | 1

Answered
error in my code
That's why |input| is seldomly recommended, especially when you plan on using the result in something important, like |solve|. ...

14 years ago | 1

Answered
Help with Function please !
Use a matrix. Q = zeros(5,3); And store in the corresponding ij indices of Q. <http://matlab.wikia.com/wiki/FAQ#How...

14 years ago | 0

Answered
Rearrange data
something along the lines of: reshape(A(2:end,:).',1,[])

14 years ago | 0

Answered
How to hide watermark of an image via MATLAB?
I think this blog entry (hint: and a utility linked in it) might interest you: <http://blogs.mathworks.com/steve/2006/10/17/t...

14 years ago | 0

Answered
Loop question in code
No MATLAB does not have a |goto| command. This is a good place to start: <http://blogs.mathworks.com/loren/2007/07/23/goto-h...

14 years ago | 0

| accepted

Answered
selecting the images
Build an image volume or cell using: <http://matlab.wikia.com/wiki/FAQ#How_can_I_process_a_sequence_of_files.3F FAQ4.12> A...

14 years ago | 0

Answered
Building sparse matrix inside parfor
*NEW:* I think I have a possible workaround. Instead of using |sparse| on each iteration, build up the _matind_ and _aval_ vec...

14 years ago | 0

| accepted

Answered
how can i generate a inverse log normal distribution ?
Perhaps: doc logninv In the Statistics Toolbox

14 years ago | 1

| accepted

Answered
Subplots made by multiple plots
Each |subplot| needs to be held individually. figure; hold on subplot(121) hold on plot(1:3) plot(rand(1,3)) subp...

14 years ago | 1

| accepted

Answered
3D graph drawing
Hold the figure on: figure; hold on surf(x,w,v) surf(x,y,z)

14 years ago | 0

| accepted

Answered
Neighbor searching
Or: sz = 10; I = false(sz); I(4,5) = true; %point we care about [row col] = find(imdilate(I,true(3)))

14 years ago | 0

Answered
draw parabola
doc linspace doc plot doc ezplot %If you have the symbolic math toolbox A few pointers.

14 years ago | 1

| accepted

Answered
??? Subscript indices must either be real positive integers or logicals
x(n)= x(n-1)+d; when n = 1, the first iteration of the loop, you're trying to reference x(1-1) a.k.a. x(0) which is undefined...

14 years ago | 0

Answered
HandleVisibility using the fit function
So you only want the |legend| to apply to some parts of the plot? Try feeding the handles you want the legend to contain into l...

14 years ago | 0

Answered
matlab grid mesh/interpolation on complicated surface
Could you do the interpolation twice, once with each part? doc triscatteredinterp will be your friend.

14 years ago | 0

Answered
"Region grow"
doc blockproc; doc colfilt

14 years ago | 0

Answered
Edge Detectors
Perhaps you could try testing and comparing them for your application: doc edge

14 years ago | 0

Answered
APPEND TWO CELL ARRAY
|vertcat| AC = vertcat(AA,AB); To fix what you have just don't use {} AC = [AA;AB];

14 years ago | 2

| accepted

Answered
Updating a string inside a callback
Instead of using a |while|-loop I would _highly_ recommend using a |timer|. function hAnimaCallback(hObject,evt) ...

14 years ago | 1

| accepted

Load more