Answered
Headers in Matlab
You can do something similar using <http://www.mathworks.com/products/matlab/demos.html?file=/products/demos/shipping/matlab/str...

15 years ago | 0

Answered
Anyone listening for a particular event?
I would think that the easiest way would be to define an event property in for each event, like this: classdef complicatedC...

15 years ago | 1

Answered
increase size of uitable dynamically
I'm not sure how you want to enter the data, but I'll sketch out one approach below: First, set up your table like this: ht =...

15 years ago | 1

Answered
How to Add Multiple Arrays?
It's not clear to me why you want loops. As long as the arrays are the same size, you can just enter the equations the way you w...

15 years ago | 0

Answered
Function with input an array of classes.
I can't run your code because there are a lot of undefined terms, but I can see two problems. First, if you run a(2).view(a...

15 years ago | 1

| accepted

Answered
How to read data from a file
This will read it into a cell array (assuming your file name is |mixedData.m|): fid = fopen('mixedData.m'); C = textscan(f...

15 years ago | 0

| accepted

Answered
Optimization toolbox
You can find a number of suggestions in this <http://www.mathworks.com/support/tech-notes/1500/1508.html curve fitting guide>.

15 years ago | 0

| accepted

Answered
scatterplot
You have to dig down a couple of layers to find the data: h = scatterplot(rand(20,2)); h = get(h,'Children'); h = get(h,'...

15 years ago | 1

| accepted

Answered
Function with input an array of classes.
To set values in this object, you must have a <http://www.mathworks.com/help/techdoc/matlab_oop/brd2m9e-1.html class constructor...

15 years ago | 2

Answered
Identification of plot and the possibility of creating it in MatLab
It looks like <http://www.mathworks.com/help/techdoc/ref/area.html area> will do the trick. *EDIT*: I'll display the image here...

15 years ago | 0

| accepted

Answered
3D face recogition
Download the 2D <http://www.mathworks.com/matlabcentral/fileexchange/11073 Face Detection Code> and then generalize.

15 years ago | 0

Answered
Trust-Region Dogleg Method - what do I do?
It is not asking you to change the method. It is telling you that it can't converge on the answer. The reason is your unrealisti...

15 years ago | 1

Submitted


HandleGraphicsSetGet class
An extension of the handle graphics set/get class HGSETGET.

15 years ago | 2 downloads |

5.0 / 5

Answered
[DISCONTINUED] Wish-list for MATLAB Answer sections.
Walter mentioned a "Best of Answers" area. A more flexible alternative would be an "Add to my favorites" button, so we can each ...

15 years ago | 5

Answered
Manipulating tensor products
Transposition is distributive over the Kronecker product, so kron(A',B') = kron(A,B)' kron(A',B) = kron(A,B')' but there ...

15 years ago | 0

Answered
Keep the graphic's zoom
If I understand your question, you can do something like the following. Make your first plot, for example plot(1:10) Zoo...

15 years ago | 0

Answered
Hilbert Transform
It is backwards if you just want the Hilbert transform, but |hilbert| is part of the <http://www.mathworks.com/products/signal/ ...

15 years ago | 2

| accepted

Answered
solve nonlinear equations
The problem may be in the following line. Make sure it is just a scalar. To give an example, F = [2*x(4)*x(2)*x(5)*(x(3)^((...

15 years ago | 0

Answered
Is it possible to run python code in matlab?
See <http://stackoverflow.com/questions/1707780/call-python-function-from-matlab Call Python function from MATLAB>.

15 years ago | 5

| accepted

Answered
left facing horizontal bar plot
Make your plot and then add this command: set(gca,'XDir','reverse')

15 years ago | 0

| accepted

Answered
How do I pass a vector into a user-defined function?
It looks like all you need to do is replace each * by .*, each ^ by .^ and each / by ./

15 years ago | 2

| accepted

Answered
How to...Matrix_1(Matrix_2)=another_Matrix
If your question is just how to index tr.nextStates, you can do this: A = tr.nextStates([(1:64)' dec']);

15 years ago | 0

Answered
plotting on google Maps
There is a <http://www.mathworks.com/matlabcentral/fileexchange/12954 Google Earth Toolbox> on the File Exchange.

15 years ago | 0

Answered
Implementing an hgsetget subclass
I have submitted an extension of |hgsetget| to the FEX: <http://www.mathworks.com/matlabcentral/fileexchange/30713-handlegraphic...

15 years ago | 0

Answered
How to stream surfaces in 3D velocity fields
You can't do that unless you start from a point with velocity zero. Elsewhere, the streamline has to be tangent to the velocity,...

15 years ago | 0

Answered
Problem when using set.property method on a property of matrix type ? How to access the value of only one element of the matrix within the set.property method?
And here is a simple |for| loop that does everything you want: x = zeros(100,1); maxValue = 10; for i=1:length(x) x(...

15 years ago | 0

Answered
Problem when using set.property method on a property of matrix type ? How to access the value of only one element of the matrix within the set.property method?
@Benjamin, this seems like a very tricky way to implement something that could be done with a simple |for| loop. I hope there so...

15 years ago | 0

| accepted

Answered
Best File Exchange ever !!!
I have only had the <http://www.mathworks.com/matlabcentral/fileexchange/22846-matlab-xunit-test-framework Matlab xUnit Test Fra...

15 years ago | 3

Answered
Warning: Explicit solution could not be found.
Are you using the Symbolic Toolbox? I don't get any such warning. Maybe some of your variables already have an earlier definitio...

15 years ago | 0

Answered
"solve" Function
Is this what you're after? x=input('x = ') y=input('y = ') z = x+y

15 years ago | 0

Load more