Answered
Need help creating wind vectors for various sets of data
Since your wind direction is represented by one number, I assume only the horizontal component is to be plotted. You could use a...

15 years ago | 0

Answered
Useful strategy to vote questions and answers
I think there is no need for a common approach to this, although there might be some good in sharing our views. If we all voted ...

15 years ago | 1

| accepted

Answered
Are we voting enough?
I'm surprised that some people think that voting for questions is time consuming. It's just a button click! It is not necessary ...

15 years ago | 3

Answered
Matched filter
Check out <http://www.mathworks.com/matlabcentral/fileexchange/3948 MATLAB Simulations for Radar Systems Design> from the File E...

15 years ago | 1

Answered
matlab code question
I don't know what the variables are, but you're probably worried about the indexing. Let's take an example: ii = 3; windo...

15 years ago | 0

Answered
4d curtain plot
There is a thread in the MATLAB Newsgroup that discusses a <http://www.mathworks.com/matlabcentral/newsreader/view_thread/49546 ...

15 years ago | 0

Question


Are we voting enough?
After about two months of MATLAB Answers, there are about 270 questions that have one or more votes. That's out of 4100 question...

15 years ago | 7 answers | 10

7

answers

Answered
Hump-day Challenger - MATLAB Indexing
I tried to finesse this problem using the function |sptensor| from the <http://csmr.ca.sandia.gov/~tgkolda/TensorToolbox/index-2...

15 years ago | 0

Question


Indexing arrays with matrices
Matt's recent <http://www.mathworks.com/matlabcentral/answers/4359-hump-day-challenger-matlab-indexing Hump-day challenger> has ...

15 years ago | 1 answer | 0

1

answer

Answered
New Matlab user
You could start with <http://www.mathworks.com/matlabcentral/answers/1148-how-to-learn-matlab How to learn MATLAB>, and the <htt...

15 years ago | 0

Answered
Minimizing a linear objective function under a unit-sphere constraint
You could use <http://www.mathworks.com/help/toolbox/optim/ug/fmincon.html fmincon> with the constraint |ceq(q)=0|, where ceq...

15 years ago | 0

| accepted

Answered
just plotting a 1 periodic function
function piecewise=piecew(x) z = mod(x,2)-1; piecewise=abs(1-abs(z)).*(abs(z)<1); end

15 years ago | 0

| accepted

Answered
kstest - normal?
Your example (taken from <http://www.mathworks.com/help/toolbox/stats/kstest.html the documentation>), "illustrates the difficul...

15 years ago | 0

| accepted

Answered
Hump-day Challenger - MATLAB Indexing
I did a lot of tweaking to get rid of |repmat|, preallocate |II|, and replace |sub2ind| by more efficient code. Alas, it is stil...

15 years ago | 2

Answered
MATLAB handle class violates polymorphism on handle equivalence
This is not an official explanation, but I can tell you this much: First, MATLAB does not have pointers. If you want handle poly...

15 years ago | 0

Answered
Simple power method iteration
The power method is implemented in MATLAB <http://people.sc.fsu.edu/~jburkardt/m_src/power_method/power_method.html here>. They ...

15 years ago | 1

| accepted

Answered
Hump-day Challenger - MATLAB Indexing
function I = hdchallenger(SA,RA) % repmat(A,m) = repmat(A,m,m) if length(RA)==1 RA = [RA RA]; end % false(m) ...

15 years ago | 1

Answered
finding optimum solution
I'm going to rewrite your problem in vector notation. Suppose the positions are given by vectors r_i, i=1..50, and the forces by...

15 years ago | 0

| accepted

Answered
The integral method used in postprocessing Analysis of Curve fitting tool
If you enter type integrate you can see the source code. It calls the function <http://www.mathworks.com/help/techdoc/re...

15 years ago | 0

| accepted

Answered
Dealing with changing lat/lon values within equation with multiple gradients.
I'm not sure how the coordinates in the gradient relate to longitude, but let's just say that the scaling parameters are |xs,ys,...

15 years ago | 0

Answered
One other question
I think a reasonable interpretation of the problem is that it is an arithmetic sequence and has to be established at the beginni...

15 years ago | 0

Answered
Searching the contents of a file with items in a second file
The explanation: |strcmpi| does a case-insensitive match (if you want case-sensitive, change to |strcmp| ) and returns a logical...

15 years ago | 2

| accepted

Answered
One other question
Assuming your input is really a vector (as in your two examples), try using diff(diff(vector)) and think about the outpu...

15 years ago | 0

Answered
finding optimum solution
As defined, your problem has an infinite number of solutions. You can expand your expression to get T=-A.*x+D.*E-A.*B+A.*C; ...

15 years ago | 0

Answered
2D Classification Matrix Display
You could do this: I = M(:,3)>1.5; plot(M(I,1),M(I,2),'b.') hold on plot(M(~I,1),M(~I,2),'r.') Note that I am u...

15 years ago | 0

Answered
Searching the contents of a file with items in a second file
You've got one mistake: len2 = length(B); should be len2 = length(C); That must have crept in when you were changi...

15 years ago | 1

Answered
fsolve with three anonymous functions
O.k., Walter thinks we haven't answered your original question, and he may be right. As his comment on your answer shows, the lo...

15 years ago | 0

| accepted

Answered
Why is this happening? Symbolic
The definition of characteristic polynomial seems to vary. For example, <http://mathworld.wolfram.com/CharacteristicPolynomial.h...

15 years ago | 0

| accepted

Answered
what is a valid handle for Matlab?
The function |close| calls |delete|, so what you are seeing is the behavior of <http://www.mathworks.com/help/techdoc/ref/delete...

15 years ago | 1

Answered
Do not understand why my code isn't working!
The reason that is does nothing is that you are stuck in an infinite loop. The inner loop ( |while summ<=1500| ) runs until |k=1...

15 years ago | 0

Load more