photo

Mark Schwab

MathWorks

Last seen: 3 years ago Active since 2017

Followers: 0   Following: 0

Statistics

  • Knowledgeable Level 1
  • First Answer

View badges

Feeds

View by

Answered
phase information from pwelch or pmtm
In the calculation of the Power Spectral Density, you take the magnitude of the product of the summation or integral of the elem...

6 years ago | 1

Answered
Is there an implementation of the partial cross correlation for two time series?
There does not appear to exist any functions for partial cross correlation. However, for cross correlation, we have the xcorr an...

6 years ago | 0

Answered
time section "from spreadsheet"-Block Simulink
I am not sure I understand what you are describing. Setting the simulation time to 'inf' should allow the model to run indefinit...

7 years ago | 0

Answered
How can I make DSP.UDPReceive block output only 1 instance of received packet instead of holding the value at its output until next packet arrives?
If you have access to the Instrument Control Toolbox, you may want to consider using the UDP Send block from this toolbox as the...

7 years ago | 0

Answered
Simulink S-Function internal loop
There are several functions for taking the inverse of matrix in MATLAB. You can use a MATLAB function block in your model to tak...

7 years ago | 0

Answered
how do i run c code which created by simulink coder
After you run the mex command on your c file, an executable file (.exe extenstion) should appear in your directory. To run this ...

7 years ago | 0

Answered
Envelope extraction of a time domain signal
If you are not concerned with the length of the envelope signal you can use the "findpeaks" function. [pks, locs] = findpea...

7 years ago | 0

| accepted

Answered
Change sound clips from audible to ultrasonic range
The behavior that you are experiencing is not expected. I tried reproducing this on my machine and the size of the signal remain...

7 years ago | 0

Answered
cannot locate a valid install area
I am not sure I understand what issue you are facing. If you are having troubles installing MathWorks software, I would recommen...

7 years ago | 0

Answered
Can I create a seperate workspace for Simulink Callback Variables? (MATLAB 2016b)
Based on the description of your workflow, I would recommend using the model workspace. Every Simulink model has a workspace of ...

7 years ago | 0

Answered
Does matlab allow us to analyse the computational cost over a Cosimulation (Simulink+GT)?
You can try using the Simulink Profiler and making sense out of the results. This tool is not tested on cosimulation with third ...

7 years ago | 0

| accepted

Answered
How can search for identical rows in a matrix?
A brief answer would be to use the "isequal" function and row indexing. For example: % A = some matrix if (isequal(A(i,:...

7 years ago | 0

Answered
define vectors in matlab
In order to provide assistance, you will need to provide more information. Please add comments to your code to give us an idea o...

7 years ago | 0

Answered
Documentation of zoh vs linear interpolation
I am not sure I understand exactly what you are asking, as the description is a little vague. I have included documentation belo...

7 years ago | 0

Answered
How to concatenate multiple signals into one signal?
You may want to look into the Mux block or the Matrix Concatenate block. The Mux block combines all of the input vectors to a si...

7 years ago | 0

Answered
How to use the button callback function to reference existing curve handles now that handles are objects rather than doubles
Hi, Have you tried using the "gco" function in your callback? gco returns the current object. Since lines are now stored as o...

7 years ago | 0

Answered
I'm using the Neural network toolbox narx function but when I try to run the app, it says Undefined variable or network. Does anyone know how to fix this?
It appears that you do not have access to the Neural Network Toolbox. You can check this by running the following command: >>...

7 years ago | 0

Answered
fprintf('One number is %f\n', 436598989898987.124132)
The default data type for storing numbers in MATLAB is double. The double data type is a 64 bit data type that stores numbers in...

7 years ago | 0

Answered
simulate the closed loop system response of state space model
Hey Mahdieh, There are many ways to plot responses to state space models in MATLAB. Many of these involve creating a system...

7 years ago | 0