Community Profile

photo

William Frane


Active since 2012

Statistics

  • Knowledgeable Level 1
  • First Answer

View badges

Content Feed

View by

Answered
Creating a 512 x 512 image from 600 x 800
Try <http://www.mathworks.com/help/images/ref/imresize.html imresize()>. This syntax: B = imresize(A, [numrows numcols]) ...

9 years ago | 1

| accepted

Answered
How can I make sound randomly occur during 10 second presentation of other stimulus?
Here's one way of generating a random time: % Seed the random number generator (otherwise the same random sequence is gener...

9 years ago | 0

Answered
Axis labels in root locus
If you haven't already, try the |xlabel()| and |ylabel()| functions (they work for me). For example: h = tf([1 2 3],[4 5...

9 years ago | 1

Answered
what is 2D otsu algorithm and how to implement it
Otsu's method (as it's more commonly known) is an image thresholding method used to convert a grayscale image to a binary one. M...

9 years ago | 0

Answered
Modify code for tick marks to be on the outside?
Tick direction is controlled using the TickDir property. set(gca,'TickDir','out'); % The only other option is 'in' For r...

9 years ago | 6

| accepted

Answered
how to color circles on an image? the color should varies with the variation of the serial data
A simple way to do this is to plot large circular data markers on top of the image (using the hold command). Something along the...

9 years ago | 0

Answered
UIGETFILE start in another directory AND choose two default file types
There's a slightly more flexible way to accomplish this: uigetfile({'*.txt;*.doc' 'Text file or Word document';'*.txt' 'Tex...

12 years ago | 16