I am an Application Support Engineer at MathWorks. I am trained as an Electrical Engineer with experience in power systems.

I like to try different food and often cook in my free time.

Professional Interests: MATLAB, Simulink, and Model-based design.

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 ...

1 year 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...

2 years 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...

2 years 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...

2 years 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...

2 years 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...

2 years 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...

3 years 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...

3 years 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...

3 years ago | 1

| 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...

3 years 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...

3 years 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 ...

3 years 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...

3 years 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...

3 years 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...

3 years 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)" ...

3 years 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 ...

3 years 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...

3 years 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...

3 years 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...

3 years 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...

3 years 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 ...

3 years 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...

3 years 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...

3 years ago | 0

Answered

TLC LibGetRecordWidth documentation?

I understand that you are not able to find documentation about the "LibGetRecordWidth" function. The "LibGetRecordWidth" fun...

TLC LibGetRecordWidth documentation?

I understand that you are not able to find documentation about the "LibGetRecordWidth" function. The "LibGetRecordWidth" fun...

3 years ago | 0