Answered
Dairy Command?
Like: load hogg.mat %?

14 years ago | 0

Solved


Right and wrong
Given a vector of lengths [a b c], determines whether a triangle with those sides lengths is a right triangle: <http://en.wikipe...

14 years ago

Answered
Specifying the orientation of a figure to be saved
Of course there is! doc view

14 years ago | 0

| accepted

Answered
Expand vectors of matrix, but a different number of times each vector
z2 = cell2mat(cellfun(@(z,c)repmat(z,1,max(c,1)),num2cell(Z,1),num2cell(C),'uni',false)) Not sure why you need to do this t...

14 years ago | 0

| accepted

Solved


Target sorting
Sort the given list of numbers |a| according to how far away each element is from the target value |t|. The result should return...

14 years ago

Solved


give nth decimal place of pi
max 15th place after the decimal point is ok for now

14 years ago

Answered
warning supression under parfor?
This is because the warning is being thrown from the workers which have not seen the "warning off" suppression. To turn it of...

14 years ago | 6

| accepted

Answered
Multiple plots on 1 Figure
Either use |plotyy()| or |hold on| to accomplish this: plot(1:10,1:10,'r-'); hold on plot(1:10,10:-1:1,'b--') For more...

14 years ago | 0

Answered
creating weighted sample for a matrix
(Unless I'm missing something (which is certainly possible (probable))) This could easily be done with a |for|-loop.

14 years ago | 0

Answered
current directory on startup
You could always have a _startup.m_ that |cd()| to the folder you want at startup. doc startup doc cd Not sure is this ...

14 years ago | 0

Answered
Why my Matlab2011a istallation failed
<http://www.mathworks.com/support/contact_us/index.html>

14 years ago | 3

| accepted

Answered
correlation of more than 2 variables
doc corrcoef doc xcorr

14 years ago | 0

| accepted

Answered
3D-plot of circular elements inside a matrix
A=[ 0 0 2 0 0; 0 1 3 2 0 3 4 2 1 3 0 2 3 5 0 0 0 4 0 0]; A(~A) = nan; %nan out the zeros meshc(A)

14 years ago | 0

| accepted

Answered
NetCDF or HDF5 or XYZ to provide time series data at the fingertips of the user
Have you looked at the MATFILE class in newer ML releases? It allows you the ability to access variables and pieces of variable...

14 years ago | 0

Answered
Rotate an array of lines
doc hgtransform doc makehgtform and <http://blogs.mathworks.com/videos/2011/02/02/animating-an-objects-trajectory-in-m...

14 years ago | 0

Answered
[DISCONTINUED] Wish-list for MATLAB Answer sections.
The ability to mark up error messages in a question or answer so that they indent and behave like m-code but are colored red.

14 years ago | 0

Answered
A small question about load matrix
dbstop if error Then run the code. The debugger will stop on the line causing the error. It should be obvious at this poi...

14 years ago | 0

| accepted

Answered
Finding the n'th element satisfying a condition
That looks good to me. The only thing that might make it faster would be to index instead of use |max()|: idx = find(A==B,...

14 years ago | 0

| accepted

Answered
Print command erroring with 'Undefined function or method 'findprop' for input arguments of type 'struct'.'
what does: which -all findprop return?

14 years ago | 0

| accepted

Answered
returning to the curve after distance from point established
* <http://www.mathworks.com/matlabcentral/fileexchange/34874-interparc FEX:interparc> * <http://www.mathworks.com/matlabcentral...

14 years ago | 0

| accepted

Answered
polyfit
Some friends for your journey: doc polyfit doc polyval doc plot

14 years ago | 0

Answered
Volterra-Lotka - questions
showdemo lotkademo Looks like it may be of assistance to you.

14 years ago | 0

| accepted

Answered
Changes in vectors
This sounds like you may eventually want to interpolate. Do do this, in this case, look into |interp1|. If you provide us with...

14 years ago | 0

| accepted

Solved


Tell me the slope
Tell me the slope, given a vector with horizontal run first and vertical rise next. Example input: x = [10 2];

14 years ago

Answered
how to allow user to get an arbitrary line profile from a contourplot
I already gave you code that with a little bit of modification could easily do this. Alternatively, you could take another appr...

14 years ago | 0

Answered
Summing values with database "group by" functionality
doc accumarray

14 years ago | 1

Answered
Correct way to test if a value is a function?
To test if a function is defined in a file with the keyword *function*, test the output of |exist()|. v = exist('some_scri...

14 years ago | 0

Answered
How do i draw a filled circle in a color matrix? (random color and size)
<http://matlab.wikia.com/wiki/FAQ#How_do_I_create_a_circle.3F faq>

14 years ago | 0

| accepted

Answered
Calling options for function handles using cellfun
In order to use |ismember| with the _'rows'_ option, you need to build this into the function handle, not |cellfun()|. Someth...

14 years ago | 0

| accepted

Solved


Steal, Share, or Catch
You, I, and a few other characters are going to play a game of *Steal, Share or Catch*. We are going to play it 10,000 times vs...

14 years ago

Load more