photo

Brian Hannan

MathWorks

Actif depuis 2017

Followers: 0   Following: 0

Message

Statistiques

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

Afficher les badges

Feeds

Afficher par

Réponse apportée
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...

plus de 5 ans il y a | 0

Réponse apportée
How is Fs defined in HighResolutionFilterBankSpectralEstimation.slx Simulink model
Fs is defined in the InitFcn model callback.

plus de 5 ans il y a | 1

| A accepté

Réponse apportée
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...

plus de 5 ans il y a | 0

A résolu


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

plus de 5 ans il y a

Réponse apportée
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...

environ 6 ans il y a | 0

| A accepté

Réponse apportée
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 ...

presque 7 ans il y a | 0

Réponse apportée
Unique function doesn't work in Simulink
You can use the 'stable' setOrder argument to get around this.

presque 7 ans il y a | 0

Réponse apportée
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...

presque 7 ans il y a | 0

| A accepté

Réponse apportée
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...

presque 7 ans il y a | 0

Réponse apportée
how can i extract MRI image of .mha extension?
See "Read Medical Data 3D" on the file exchange.

presque 7 ans il y a | 1

Réponse apportée
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...

presque 7 ans il y a | 2

| A accepté

Réponse apportée
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)

presque 7 ans il y a | 1

Réponse apportée
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 ...

presque 7 ans il y a | 0

| A accepté

A résolu


Union Jack Matrix
Create a matrix of odd dimensions that has ones on both diagonals and dividing the matrix into 4 quadrants, resembling a square ...

presque 7 ans il y a

A résolu


Return the first and last character of a string
Return the first and last character of a string, concatenated together. If there is only one character in the string, the functi...

presque 7 ans il y a

A résolu


Bottles of beer
Given an input number representing the number of bottles of beer on the wall, output how many are left if you take one down and ...

presque 7 ans il y a

A résolu


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

presque 7 ans il y a

Réponse apportée
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...

presque 7 ans il y a | 0

| A accepté

Réponse apportée
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...

presque 7 ans il y a | 0

A résolu


Is the Point in a Circle?
Check whether a point or multiple points is/are in a circle centered at point (x0, y0) with radius r. Points = [x, y]; c...

presque 7 ans il y a

A résolu


Right and wrong
Given a vector of lengths [a b c], determines whether a triangle with those sides lengths is a right triangle: <http://en.wikipe...

presque 7 ans il y a

Réponse apportée
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...

presque 7 ans il y a | 3

| A accepté

Réponse apportée
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...

presque 7 ans il y a | 1

Réponse apportée
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...

environ 7 ans il y a | 1

Réponse apportée
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...

environ 7 ans il y a | 0