retired control engineer.

Matlab author.

Jazz and classical music fan. Piano aficionado. Bridge enthusiast.

Professional Interests: simulation and analysis of sounds

Question

How to use audio toolbox

Hello. I have audio toolbox and I am trying to cause my Yamaha P120 digital piano to produce the sound of a key strike by sendin...

2 months ago | 1 answer | 0

Question

How to extract information from sys

I would like to extract the coefficients in a discrete transfer function that I construct from a continuous transfer function. F...

4 months ago | 1 answer | 0

Question

How can I prevent the studdering initial sound when sound or soundsc is used?

When I feed a sine wave into sound or soundsc I get a ta-daaa at the beginning and the tone comes through as expected. It is int...

11 months ago | 0 answers | 0

Question

How to use webread to download numerical data

Hello. I have data in the form of .mat files in a folder in my Boxnet account. I would like to use a Matlab script to read those...

1 year ago | 1 answer | 0

Answered

How can I protect a public script from being changed?

Thanks to Adam and OCDER.

How can I protect a public script from being changed?

Thanks to Adam and OCDER.

1 year ago | 0

Question

How can I protect a public script from being changed?

I write scripts that I would like other Matlab users to run but I do not want them to be able to modify it. Is there a way to pr...

1 year ago | 2 answers | 0

Question

How to keep Matlab going on a long calculation?

I run simulations, some of which take on the order of 90 minutes. If I get one started and walk away to do other things, I find ...

3 years ago | 1 answer | 0

Question

How can I get the Mastering Matlab Toolbox

In "Mastering Matlab" by Hanselman & Littlefield there is a reference to the Mastering Matlab Toolbox that contains several scri...

3 years ago | 1 answer | 1

Question

Why doesn't mp3write work in R2015b but it does in R2013b?

When I try to use mp3write in R2015b I get Error using wavwrite (line 8) WAVWRITE will be removed in a future release. Use ...

3 years ago | 1 answer | 0

Question

How to change the Date and Time of a Saved Script?

On older versions, when I saved a script it kept the most recent time and date. This allowed me to easily use Windows Explorer t...

4 years ago | 0 answers | 0

Question

How long does it take to transfer a mat file to the cloud?

To use Matlab mobile I have uploaded a couple of scripts to the Matlab cloud and have been able to run them successfully. There ...

4 years ago | 0 answers | 0

Question

Can I add toolboxes to Matlab Home Later On?

Q1: I am a Matlab author and have used Matlab extensively in my two books. Now that I am aware of Matlab Home I want to know if ...

4 years ago | 1 answer | 0

Question

How can I get rid of the yellow background?

While editing a script I inadvertently clicked something that caused a yellow background for the script and also added comments ...

4 years ago | 3 answers | 2

Question

Do I need R2014B for this?

I need to find out which toolboxes my scripts need so that I can know whether Matlab Home will work. Does [fList, pList] = ma...

4 years ago | 0 answers | 0

Question

Can I Activate audiorecorder or recordblocking by Sound Level?

I am trying to use audiorecorder and recordblocking for tuning a piano and I would like to start collecting when I strike a key....

4 years ago | 0 answers | 0

Question

How to calculate modal density?

Can you point me to a script that calculates the modal density of a time series? Is there a reference that would show how to cal...

5 years ago | 0 answers | 0

Question

How Can I Speed up a loop that solves a pde?

Hello, I am solving the 4th order pde for plate vibration and after discretizing the pde and solving for W(x,y,t) or W(k,m,n...

5 years ago | 1 answer | 0

Question

Pausing in Matlab Mobile

I am trying to convert my scripts so that I can run them on my iPad. Most of my scripts generate many figures and have pauses af...

5 years ago | 2 answers | 0

Question

Reseverved Status for "CallInputString"?

Yesterday I downloaded R2013a. One of my scripts uses another script function named "CallInputString" defined as function y=C...

6 years ago | 0 answers | 0

Question

Can a text statement be put on a contour plot?

I have tried putting text(40, 50, 'comment') after a contour plot without succcess. Is there something I am missing? Thanks.

6 years ago | 1 answer | 0

Question

Bold Titles when using menu

Hello, I am using menu and, based on a previous Matlab Answers post, I am able to choose the font (Arial Rounded MT Bold) but...

6 years ago | 1 answer | 0

Question

Starting a Loop over again

If I am in a while/end loop and I find that I have a mistake and want to get out of the loop and start the loop over again, how ...

7 years ago | 1 answer | 0

Question

Does repeated use of ngrid suck up memory?

I calculate a 60,000 by 1000 grid using Matlab's ngrid function. While staying in the same script I often have to recalculate th...

7 years ago | 0 answers | 0

Question

How can I connect Matlab to Accelerometers?

I would like to use my Matlab to read the outputs of accelerometers. Are there products available that would allow me to use my ...

7 years ago | 1 answer | 0

Question

Is it possible to update two different graphs?

I want to have a time loop going that generates a snapshot of a vibrating string and on a different figure a snapshot of a vibra...

7 years ago | 1 answer | 0

Question

Can I Use the Special Function Keys to Interrupt a Script?

Back in the old QuickBasic and early Visual Basic days I would write code that allow me to interrupt a running algorithm by pres...

7 years ago | 2 answers | 0

Question

Is there a routine for recursive fft?

I have in my archives an article in the EDN magazine from September 29.1988 by a Tom Springer entitled "Sliding FFT computes fre...

7 years ago | 0 answers | 0

Question

Are there any Early Matlab Manuals left?

I started using Matlab circa 1989. My first copy was ver. 3.0 or 3.5 and all the routines fit on one 5.25 inch floppy disc. The ...

7 years ago | 1 answer | 2

Question

Fourth Order Hyperbolic PDE's

I have been struggling with trying to solve the vibrating plate equation in polar coordinates with angular dependence (non symme...

7 years ago | 1 answer | 0

Question

Using Matlab on Netbooks

To accompany me on trips I am considering getting a netbook and installing my Matlab on it. Has anyone had experience with using...

7 years ago | 2 answers | 0