I am a Software Engineer at MathWorks. I am trained as an Electrical Engineer with experience in power systems.

Professional Interests: MATLAB, Simulink, and Model-Based Design.

Answered

Smart Grid Project - Energy Management System

Hi Blake, I am glad that you insist on investigating this microgrid topic as a researcher. With some similar research experienc...

Smart Grid Project - Energy Management System

Hi Blake, I am glad that you insist on investigating this microgrid topic as a researcher. With some similar research experienc...

3 Monate ago | 0

| accepted

Answered

Bi directional buck boost converter with simulink and simscape only

Sample time is an intrinsic part of the power electronics circuit model. As a result, it would be difficult to speed up simulati...

Bi directional buck boost converter with simulink and simscape only

Sample time is an intrinsic part of the power electronics circuit model. As a result, it would be difficult to speed up simulati...

3 Monate ago | 1

| accepted

Answered

How to chose pwm and buck converter parameters?

Simulating the behavior of a solar charging system with this detailed model would be very slow. This is because of the sample ti...

How to chose pwm and buck converter parameters?

Simulating the behavior of a solar charging system with this detailed model would be very slow. This is because of the sample ti...

3 Monate ago | 1

Answered

How to convert a simscape model like inverter or buck converter to HDL code?

There is a shipped tool called Simscape HDL Workflow Advisor. Using this tool, you should be able to convert your Simscape model...

How to convert a simscape model like inverter or buck converter to HDL code?

There is a shipped tool called Simscape HDL Workflow Advisor. Using this tool, you should be able to convert your Simscape model...

4 Monate ago | 0

| accepted

Answered

can we generate C/C++ code for closed loop Autotuner?

Let me answer the "how" part of this question. There is a documentation page about the complete workflow of using the Closed-Loo...

can we generate C/C++ code for closed loop Autotuner?

Let me answer the "how" part of this question. There is a documentation page about the complete workflow of using the Closed-Loo...

5 Monate ago | 0

| accepted

Answered

close loop PID autotuner

Based on the information you provided, replacing the 'FOC Autotuner' block with a 'Closed-Loop PID Autotuner' block is feasible....

close loop PID autotuner

Based on the information you provided, replacing the 'FOC Autotuner' block with a 'Closed-Loop PID Autotuner' block is feasible....

5 Monate ago | 2

| accepted

Answered

**Importing MATLAB's own SIMULINK routine, the simulation result is wrong.

Based on the information you provided, I have tried this example. However, I was not able to reproduce the same result shown in ...

**Importing MATLAB's own SIMULINK routine, the simulation result is wrong.

Based on the information you provided, I have tried this example. However, I was not able to reproduce the same result shown in ...

fast 2 Jahre ago | 0

Answered

Real-Time Audio Processing: Varying Delay Depending on Initial Under/Overruns

As a first step, you can run the Measure Audio Latency example to verify that your audio I/O system is configured correctly: <h...

Real-Time Audio Processing: Varying Delay Depending on Initial Under/Overruns

As a first step, you can run the Measure Audio Latency example to verify that your audio I/O system is configured correctly: <h...

etwa 3 Jahre ago | 1

Answered

Generic battery model - State of Charge

I understand that you observed the initial SOC that is different from the settings in the Battery block in the Simscape Power Sy...

Generic battery model - State of Charge

I understand that you observed the initial SOC that is different from the settings in the Battery block in the Simscape Power Sy...

etwa 3 Jahre ago | 0

| accepted

Answered

Set disarmed PWM of PX4 simulink app

I understand that you want to change the disarm signal for PWM outputs in the motor block. It appears that the disarm PWM signal...

Set disarmed PWM of PX4 simulink app

I understand that you want to change the disarm signal for PWM outputs in the motor block. It appears that the disarm PWM signal...

etwa 3 Jahre ago | 0

Answered

How can I change package for selected data object?

I understand that you may want to create custom storage classes using packages other than 'Simulink' or 'mpt'. Based on the work...

How can I change package for selected data object?

I understand that you may want to create custom storage classes using packages other than 'Simulink' or 'mpt'. Based on the work...

etwa 3 Jahre ago | 0

Answered

using RF tool box,How to create a matrix ABCD with 4 complex vectors A, B, C and D

I understand that you want to create a matrix ABCD with 4 complex vectors A, B, C and D. Based on the code snippet you posted, i...

using RF tool box,How to create a matrix ABCD with 4 complex vectors A, B, C and D

I understand that you want to create a matrix ABCD with 4 complex vectors A, B, C and D. Based on the code snippet you posted, i...

etwa 3 Jahre ago | 0

Answered

Assigning a Triangular Distribution to Each Entity of a Process Flow Model of SimEvents

I understand that you want to have an "Entity Server Block" that has an input port providing the service time duration. I assume...

Assigning a Triangular Distribution to Each Entity of a Process Flow Model of SimEvents

I understand that you want to have an "Entity Server Block" that has an input port providing the service time duration. I assume...

mehr als 3 Jahre ago | 0

| accepted

Answered

How to quantify spectrogram comparison

I understand that you want to quantify the difference between two spectrograms and use this quantitative information in fault di...

How to quantify spectrogram comparison

I understand that you want to quantify the difference between two spectrograms and use this quantitative information in fault di...

mehr als 3 Jahre ago | 0

Answered

Fitting a probability density function with a kernel density estimator. How Matlab handles the support?

I understand that you want to know how MATLAB handles the Kernel density options for 'support' in the "fitdist" function. The do...

Fitting a probability density function with a kernel density estimator. How Matlab handles the support?

I understand that you want to know how MATLAB handles the Kernel density options for 'support' in the "fitdist" function. The do...

mehr als 3 Jahre ago | 2

| accepted

Answered

Creating a sinusoidal pwm using the hdl coder blocks

I understand that you want to generate code from your Simulink model using the HDL Coder. As long as the simulation result is sa...

Creating a sinusoidal pwm using the hdl coder blocks

I understand that you want to generate code from your Simulink model using the HDL Coder. As long as the simulation result is sa...

mehr als 3 Jahre ago | 0

Answered

What is difference between unwrap(angle(X)) and phase(X)?

I understand that you want to extract phase angles from channel matrix (which is 'csi' in the data file). However, using the scr...

What is difference between unwrap(angle(X)) and phase(X)?

I understand that you want to extract phase angles from channel matrix (which is 'csi' in the data file). However, using the scr...

mehr als 3 Jahre ago | 1

| accepted

Answered

filtfilt returns unexpected large value when using with LPC

I understand that you want to use the "filtfilt" function in source-filter separation. After using the "filtfilt" function, the ...

filtfilt returns unexpected large value when using with LPC

I understand that you want to use the "filtfilt" function in source-filter separation. After using the "filtfilt" function, the ...

fast 4 Jahre ago | 0

Answered

Can't figure out why the integral() command is returning error "Matrix dimensions must agree", but they do agree.

I understand that you want to integrate a function over time using the "integral" function. The error message is that "Matrix di...

Can't figure out why the integral() command is returning error "Matrix dimensions must agree", but they do agree.

I understand that you want to integrate a function over time using the "integral" function. The error message is that "Matrix di...

fast 4 Jahre ago | 0

Answered

How can you set the initital condition 'displacement' of the mass in a simple spring-damper-mass system in Simscape?

I understand that you want to set the initial displacement of the "Mass" block in a Mass-Spring-Damper model in Simscape. I assu...

How can you set the initital condition 'displacement' of the mass in a simple spring-damper-mass system in Simscape?

I understand that you want to set the initial displacement of the "Mass" block in a Mass-Spring-Damper model in Simscape. I assu...

fast 4 Jahre ago | 0

Answered

What is the best way to do some calculation within a state in stateflow?

I understand that you want to find a better way to write MATLAB code in Stateflow states. I am not sure in what sense you mean b...

What is the best way to do some calculation within a state in stateflow?

I understand that you want to find a better way to write MATLAB code in Stateflow states. I am not sure in what sense you mean b...

fast 4 Jahre ago | 0

| accepted

Answered

How is the equation for u_g given in MatLab's discrete Dryden Wind Turbulence Model a difference equation?

I understand that you have a question about the difference equation expression in the "Dryden Wind Turbulence Model (Discrete)" ...

How is the equation for u_g given in MatLab's discrete Dryden Wind Turbulence Model a difference equation?

I understand that you have a question about the difference equation expression in the "Dryden Wind Turbulence Model (Discrete)" ...

fast 4 Jahre ago | 0

| accepted

Answered

I'm trying to create a time varying system in simulink using matlab function block but even if the logic is correct it says the value which i'm calling form workspace is not Simulink.Signal

This happens maybe because you have an object defined in the base workspace and you are using a data store with the 'Data store ...

I'm trying to create a time varying system in simulink using matlab function block but even if the logic is correct it says the value which i'm calling form workspace is not Simulink.Signal

This happens maybe because you have an object defined in the base workspace and you are using a data store with the 'Data store ...

fast 4 Jahre ago | 0

Answered

DC-DC buck converter step response gives oscillations at the start of the simulation ?

I understand that you are simulating a DC-DC buck converter using the Simscape Power Systems. There is some oscillation at the b...

DC-DC buck converter step response gives oscillations at the start of the simulation ?

I understand that you are simulating a DC-DC buck converter using the Simscape Power Systems. There is some oscillation at the b...

fast 4 Jahre ago | 0

| accepted

Answered

How to demodulate a sound through MATLAB

I understand that you want to build a DSBSC demodulator to demodulate a recorded sound file. You might refer to the following li...

How to demodulate a sound through MATLAB

I understand that you want to build a DSBSC demodulator to demodulate a recorded sound file. You might refer to the following li...

fast 4 Jahre ago | 0

Answered

Does anyone know how I could model a variable resistor as a linear potentiometer in Simulink? The library I have does not currently contain this block

I understand that you want to recreate the function of a potentiometer using a variable resistor in your current Simulink librar...

Does anyone know how I could model a variable resistor as a linear potentiometer in Simulink? The library I have does not currently contain this block

I understand that you want to recreate the function of a potentiometer using a variable resistor in your current Simulink librar...

fast 4 Jahre ago | 1

Answered

fourier synthesis program when given ak

I understand that you want to compute Fourier synthesis using 'for' loops. The equation that you use to compute matrix 'F' creat...

fourier synthesis program when given ak

I understand that you want to compute Fourier synthesis using 'for' loops. The equation that you use to compute matrix 'F' creat...

fast 4 Jahre ago | 0

Answered

FFT2: Get the actual frequencies and amplitudes

I understand that you use the "fft2" function to analyze an artificial image. The image is created by summing up the first five ...

FFT2: Get the actual frequencies and amplitudes

I understand that you use the "fft2" function to analyze an artificial image. The image is created by summing up the first five ...

fast 4 Jahre ago | 0

Answered

Power dissipation in vehicle dampers

I understand that you want to determine the energy dissipation of an automotive damper per cycle. There are many types of aut...

Power dissipation in vehicle dampers

I understand that you want to determine the energy dissipation of an automotive damper per cycle. There are many types of aut...

fast 4 Jahre ago | 0

Answered

Damping Ratios and Frequencies

I understand that you want to derive damping ratios and natural frequencies from a linear model. This model may be a state-space...

Damping Ratios and Frequencies

I understand that you want to derive damping ratios and natural frequencies from a linear model. This model may be a state-space...

fast 4 Jahre ago | 0