photo

Brian Hannan

MathWorks

Active since 2017

Followers: 0   Following: 0

Message

Statistics

All
  • First Review
  • 3 Month Streak
  • Knowledgeable Level 2
  • Solver
  • First Answer

View badges

Feeds

View by

Answered
How to plot a linear Frequency vs time curve?
Akshat, there are a number of different ways to get a time-frequency representation of a signal. See the Time-Frequency Analysis...

5 years ago | 0

Answered
How is Fs defined in HighResolutionFilterBankSpectralEstimation.slx Simulink model
Fs is defined in the InitFcn model callback.

6 years ago | 1

| accepted

Answered
Spectral analysis in MATLAB script
It looks like the difference is that the Simulink model's Spectrum Analyzer is showing the spectrum of the last 1000 samples. Th...

6 years ago | 0

Answered
Which parrot drones are supported by Simulink
Hey Brandon, there are Simulink hardware support packages for PARROT Minidrones and the AR.Drone 2.0. More info and project id...

6 years ago | 0

| accepted

Answered
real-time recording(audio) filtering
You can still play and filter the getaudiodata output. Use <https://www.mathworks.com/help/matlab/ref/sound.html sound> to play ...

7 years ago | 0

Answered
Unique function doesn't work in Simulink
You can use the 'stable' setOrder argument to get around this.

7 years ago | 0

Answered
How to get variables needed for Simulink model?
See the use of Simulink.findVars at this <https://www.mathworks.com/help/simulink/examples/migration-to-structure-parameters.htm...

7 years ago | 0

| accepted

Answered
Adding a delay to input reading in Simulink
You can use a Sample and Hold block for this. Or you can create a trigger signal with a 10-sec. period to drive a simple enabled...

7 years ago | 0

Answered
how can i extract MRI image of .mha extension?
See "Read Medical Data 3D" on the file exchange.

7 years ago | 1

Answered
Simulink Realtime: Define Target Using Script-Line Not sltrtexplr
Use tg = slrt; tg.TcpIpTargetAddress = '10.10.10.10'; tg.TcpIpTargetPort = '22222'; etc. See <https://www.mathw...

7 years ago | 2

| accepted

Answered
Values of selected array indices
You can use sub2ind for this. myIxs = arrayfun(@(rowIx,colIx) sub2ind(size(A),rowIx,colIx), i(:,1), i(:,2)); A(myIxs)

7 years ago | 1

Answered
Read specific string in a large text lines
Check out <https://www.mathworks.com/help/matlab/ref/regexp.html?s_tid=srchtitle#inputarg_expression regexp>. Something like ...

7 years ago | 0

| accepted

Answered
Import statement currently unsupported
If you're using this block for simulation only, you can use coder.extrinsic to get around this. There's a discussion on this <ht...

7 years ago | 0

| accepted

Answered
Masking a system with variability
I would make a, b and c parameters of my mask. More on this <https://www.mathworks.com/help/simulink/ug/calculate-values-used-un...

7 years ago | 0

Answered
how to copy the figure from root locus editor
You can do this by exporting your transfer function from the Control System Designer to the MATLAB workspace and then plotting t...

7 years ago | 3

| accepted

Answered
App Designer: Programmatically toggle between buttons
You can do this using the Buttons, OldValue, and NewValue properties described <https://www.mathworks.com/help/matlab/ref/button...

7 years ago | 1

Answered
How can I calculate areas of different segmented regions which are in the same image?
Hi, Fevzi. You've already done the hard work here. The cell array B contains the boundaries of your polygons. One way to calcula...

7 years ago | 1

Answered
Receive uniform Data from scope
Hi Pierrick, It sounds like your simulation is using a variable-step solver. You can find more information about solvers <htt...

7 years ago | 0