Answered
How to Output Accurate PDF from Matlab figure
Oh, interesting. I see the problem now, but is this a pdf issue, or an issue with the filled circle function? Perhaps simply c...

12 years ago | 0

Answered
type of variable "m" changes (i.e int or [ ] ) while running a program using different datasets
Is |Label_size| defined before this bit of code?

12 years ago | 0

Answered
How to Output Accurate PDF from Matlab figure
I highly recommend switching to export_fig instead of using print. Here's export_fig: http://www.mathworks.com/matlabcentral/fi...

12 years ago | 0

Answered
How to remove the low frequencey in a data set.
You could use the hipass_butterworth function from this set if you have the signal processing toolbox: http://www.mathworks.com/...

12 years ago | 1

| accepted

Answered
Populating graph titles for multiple figures
Or if you want subplots, x = data_of_interest; for n = 1:ll figure(n) % Axial Load subplot(2,1,1) plot...

12 years ago | 2

Answered
Populating graph titles for multiple figures
for n = 1:ll figure(n) % insert calculations and figure plotting here. title(['Rod ',num2str(n),' Axial ...

12 years ago | 1

| accepted

Question


logicals and replacing values in 3D matrices
I have three matrices. Their sizes are as follows: |x| is m x n. |y| is m x n. |z| is m x n x q. I can redefine...

12 years ago | 1 answer | 0

1

answer

Answered
IF Statements - case sensitive
Try the strcmpi function.

12 years ago | 0

Answered
Eliminated zero value in the matrix.
dist2 = repmat(dist(~eye(size(dist))),1,7)

12 years ago | 0

Question


Interpolation and missing values
I have a series of data given by an x array and a corresponding y array. The arrays are equal in size. The x array is approxim...

12 years ago | 1 answer | 0

1

answer

Answered
help in a matrix
This function returns an array that is the row of your matrix times five. function [out] = mynewfunction(matrix,row); ...

12 years ago | 0

Answered
Combining arrays to form indices
I like dpb's solution. My slower, clunkier solution would have required a loop: A = [1 10 15 25 35]; B = [5 13 18 31 52...

12 years ago | 0

Answered
Smoothing noisy increasing measurement/calculation
A moving average should do it. You'll lose some temporal resolution, but if the noise is gaussian then a moving average will fo...

12 years ago | 0

| accepted

Answered
Do I need to use repmat to plot the RMS at every point in a signal?
The rms of a single point is not terribly interesting. There are many ways to do what you're trying to do, but you could take a...

12 years ago | 0

Question


how to find elements in an array
Given this: x = 1:100; y = 201:300; a = 250; I know that x(y==a) will return 50, the value of |x| corr...

12 years ago | 2 answers | 0

2

answers

Question


any way to avoid this loop?
I'm familiar with the benefits of vectorizing code, but is there a way to avoid a loop when the solution to each value in an arr...

12 years ago | 1 answer | 1

1

answer

Submitted


deseason
Remove the seasonal signal from a daily time series of data.

12 years ago | 1 download |

0.0 / 5
Thumbnail

Submitted


dlim
set date limits like they're x limits.

12 years ago | 1 download |

0.0 / 5

Question


How do I clear up some memory?
When I run computationally-intensive scripts, memory usage goes up and my computer slows down a little bit. This is to be expec...

12 years ago | 1 answer | 0

1

answer

Question


Get contour matrix without plotting?
I have a big gridded dataset |Z| and I want to create a contour matrix |C| from it. I need contours at many levels, -100:2:100....

13 years ago | 1 answer | 1

1

answer

Question


maximizing efficiency in simple commands
I have an array given by x = [1 2 3 4]; I would like to create a matrix that looks like M = [1 2 3 4; 1 ...

13 years ago | 2 answers | 0

2

answers

Submitted


ntitle
Place a title inside a plot. Reduces title/xlabel ambiguity in figures with multiple subplots.

13 years ago | 4 downloads |

4.83333 / 5
Thumbnail

Submitted


clip
Return the values of an array within a given range, optionally return corresponding clipped arrays.

13 years ago | 2 downloads |

3.0 / 5
Thumbnail

Answered
The "Did you mean..." routine
It's not exactly what I want, but this is close enough to work for me: % given the input aclass: aclass = 'algebra 1';...

13 years ago | 0

| accepted

Question


The "Did you mean..." routine
Is there a way to access the routine that looks for approximate string matches? I have an n x 1 cell array. I know how to sear...

13 years ago | 4 answers | 3

4

answers

Answered
VideoWriter clipping my axes
I figured out the fix: getframe(gcf,[left bottom width height]), using the figure position from get(gcf).

13 years ago | 1

| accepted

Question


represent a volume given two surfaces
I have two surfaces given by the grids X, Y, Z1 and X, Y, Z2. Both Z grids share the same X and Y grids. I can plot each Z sur...

13 years ago | 1 answer | 0

1

answer

Question


VideoWriter clipping my axes
I'm using the VideoWriter feature for a simple animation of motion of a 3-D surface. Running through the loop, I can see in my ...

13 years ago | 2 answers | 1

2

answers

Submitted


ccc
close all; clear all; clc;

13 years ago | 1 download |

0.0 / 5

Load more