Community Profile

Aslak Grinsted


19 total contributions since 2003

Contact

Contributions in
View by

Responded


Re: hold on/off while using set(gca,'XDATA', ..)
It works as it should. The "hold" should only prevent the axes child objects from being deleted when you issue a new plot comma...

5 years ago | 3878 views

Responded


Re: inputParser and partial parameter names
I realize that, but really it is such a convenience that i (almost) cant be without. I just have to deal with it if it happens....

5 years ago | 2239 views

Posted


inputParser and partial parameter names
I am trying to use the inputParser to do stuff similarly to how e.g. text() handles property/value pairs, but i am hitting a wal...

5 years ago | 2239 views

Responded


Re: neural net - how to size
If you use too many then you will be over-fitting. If you use too few then your net wont be as good. So, the trick is to find th...

5 years ago | 8360 views

Question


problem generating movies w. modern compression
I get skewed and striated movies when i use avifile with a custom compression (windows7). I can see that several people has had ...

5 years ago | 0 Answers | 0

0

answers

Responded


Re: Reasons for which functions are not allowed within scripts?
Steve, I vote for this feature. It would be really nice to have in teaching contexts. For example if you want to have a short sc...

6 years ago | 25643 views

Posted


Faster filtering image when there are mostly zeros in the filter.
I want to average the pixels along a short "diagonal" segment in an image. For that i use filter2 like this: f=zeros(1,21); for...

6 years ago | 853 views

Responded


Re: Keep every tenth input from .ascii-file
do something like this (unfinished & untested code) Data100=zeros(1e6,1); %pre-allocate fid=fopen(fname,'r'); row=1; n=0; v=0; ...

6 years ago | 3148 views

Responded


Re: bug in ecdf and prctile?
I've submitted this as a bug to mathworks.

6 years ago | 3676 views

Posted


bug in ecdf an prctile?
Both ecdf and prctile uses the rank of a sample (m) within a set of length (N) to estimate the empirical cumulative distribution...

6 years ago | 3676 views

Posted


imread -animated gif bug (?)
Hi When i read frame number e.g. 200 from this animated gif there is a lot of black lines which shouldn't be there. Is this a...

9 years ago | 1345 views

Responded


Re: How to transform a Matrix to Vector for
I think the problem is this loop: for t=1:length(nfn(:,1)) end Why not do like this: fprintf(ff, '%8.2f\n', nfn');

9 years ago | 596 views

Responded


Re: 3D plot with log axes
surf(peaks+8); set(gca,'xscale','log','yscale','log','zscale','log')

9 years ago | 567 views

Responded


Re: Help: How to print?
try using the print command instead of getframe and imwrite...

9 years ago | 643 views

Responded


Re: Distance between peaks
This finds local maxima and the distance between them. x=(0:.2:30)'; y=sin(x)+randn(size(x))*.1; %smooth y before looking for ...

9 years ago | 4026 views

Responded


Re: singals with different timeaxis ?
I have written a function called cutsamples. It is in the fileexchange on matlab central. dt=0.1; t=(1:0.1:57)'; sig1=cutsampl...

11 years ago | 428 views

Responded


Re: irregular spaced data
Actually i'm trying to do all kinds of analysis of the data. But yes i'm also interrested in frequencies. (I'll look in to Lomb-...

13 years ago | 805 views

Posted


irregular spaced data
linear scale. I've been using my own function cutsamples.m (it's in the fileexchange). Example: I have a data set from an ic...

13 years ago | 805 views

Posted


please add wgs84 to the almanac
Why can't i do like this: mstruct.geoid = almanac('earth','geoid','km','wgs84'); I know i can do like this instead, but i wa...

13 years ago | 684 views