I am an Application Support Engineer at MathWorks. My job position allows me to explore different domains in MathWorks and find my target domain by doing projects in different domains.

My areas of interest are Signal processing and communications.

DISCLAIMER:Any advice or opinions here are my own and in no way reflect that of MathWorks.

Answered

Phase and amplitude shift

Use two 1D lookup tables where the inputs of 1st and 2nd lookup tables is average power and the output of one lookup table is am...

Phase and amplitude shift

Use two 1D lookup tables where the inputs of 1st and 2nd lookup tables is average power and the output of one lookup table is am...

2 days ago | 0

Answered

Are there any examples using ecmmvnrfish?

ecmmvnrfish is used to find the fisher information matrix. The inputs to the function are Data, Design and Covariance. The examp...

Are there any examples using ecmmvnrfish?

ecmmvnrfish is used to find the fisher information matrix. The inputs to the function are Data, Design and Covariance. The examp...

3 days ago | 0

Answered

fix the soulation pleaase

In the provided code, the size of p is 1x2. However, the size of p(:,size(p,2))+0.2*[fx;fy] is 2x1. While concatenating horizont...

fix the soulation pleaase

In the provided code, the size of p is 1x2. However, the size of p(:,size(p,2))+0.2*[fx;fy] is 2x1. While concatenating horizont...

4 days ago | 0

Answered

Setting symbol rate and sampling frequency for a carrier in Simulink

The symbol rate of each of the given signals depends on the Sample time parameter in Random Integer Generator block. However, to...

Setting symbol rate and sampling frequency for a carrier in Simulink

The symbol rate of each of the given signals depends on the Sample time parameter in Random Integer Generator block. However, to...

5 days ago | 0

| accepted

Answered

Can someone confirm my differentiation code is correct?

The code written to differentiate P (a, u, EA1, EA2) with respect to u is correct. It will give correct result. The reason for t...

Can someone confirm my differentiation code is correct?

The code written to differentiate P (a, u, EA1, EA2) with respect to u is correct. It will give correct result. The reason for t...

5 days ago | 1

| accepted

Answered

OCR function does not recognize number 8

While passing the image data to ocr function, no need to convert the image from RGB to gray as ocr function converts truecolor o...

OCR function does not recognize number 8

While passing the image data to ocr function, no need to convert the image from RGB to gray as ocr function converts truecolor o...

5 days ago | 0

Answered

How can I resize a plot image and save it?

Assuming the resolution of image to be 32*32 pixels, the image is saved in the specified resolution and format using print funct...

How can I resize a plot image and save it?

Assuming the resolution of image to be 32*32 pixels, the image is saved in the specified resolution and format using print funct...

5 days ago | 0

Answered

Write a function called mysum that sums the first n positive numbers. Give the result x1 for n=20,and the result x2 for n=100. For example, if n = 2, mysum computes the sum of 1 and 2. The result is 3.

Create a function using the keyword ‘function’ and save the file with name mysum.m. function output = mysum(n) output = 0; fo...

Write a function called mysum that sums the first n positive numbers. Give the result x1 for n=20,and the result x2 for n=100. For example, if n = 2, mysum computes the sum of 1 and 2. The result is 3.

Create a function using the keyword ‘function’ and save the file with name mysum.m. function output = mysum(n) output = 0; fo...

7 days ago | 0

Answered

Convert an image with 16 bit depth to 32 or 62 bit in MATLAB?

To convert a 16-bit monocromatic image (no colors, black and white) to 32-bit, the below procedure can be followed with gray sca...

Convert an image with 16 bit depth to 32 or 62 bit in MATLAB?

To convert a 16-bit monocromatic image (no colors, black and white) to 32-bit, the below procedure can be followed with gray sca...

16 days ago | 1

| accepted

Answered

Using ppval for a polynomial of two variables

A piecewise polynomial that is a function of two variables cannot be evaluated using ppval. Use the given link for reference htt...

Using ppval for a polynomial of two variables

A piecewise polynomial that is a function of two variables cannot be evaluated using ppval. Use the given link for reference htt...

17 days ago | 0

Answered

How to hide the mouse pointer in app designer

As of now, using a custom pointer is not supported in AppDesigner -> uifigure for the available MATLAB releases. However, the c...

How to hide the mouse pointer in app designer

As of now, using a custom pointer is not supported in AppDesigner -> uifigure for the available MATLAB releases. However, the c...

19 days ago | 0

Answered

what is the noise bandwidth considered while calcuating SNR ; for func of the form .. r = snr(x,fs,n)

The noise bandwidth is equal to the sampling frequency. This can be obtained by plotting the power spectral density of noise. ...

what is the noise bandwidth considered while calcuating SNR ; for func of the form .. r = snr(x,fs,n)

The noise bandwidth is equal to the sampling frequency. This can be obtained by plotting the power spectral density of noise. ...

19 days ago | 0

| accepted

Answered

FIR Filter function sample rate

To design an FIR bandpass filter with a passband of 1000Hz to 2000Hz and fs=50000Hz, the passband frequency is given as normaliz...

FIR Filter function sample rate

To design an FIR bandpass filter with a passband of 1000Hz to 2000Hz and fs=50000Hz, the passband frequency is given as normaliz...

20 days ago | 0

| accepted

Answered

Circular vs. linear convolution of 2D data

Hi William, In order to zero-pad a 2D data i.e. matrix, padding should be in such a way that the row length is equal to r1+r2-1...

Circular vs. linear convolution of 2D data

Hi William, In order to zero-pad a 2D data i.e. matrix, padding should be in such a way that the row length is equal to r1+r2-1...

21 days ago | 0

| accepted

Answered

Stop playing audio using audioDeviceWriter.

Play and stop functions are applicable for audioplayer and audiorecorder objects. An audio played by audioDeviceWriter can be st...

Stop playing audio using audioDeviceWriter.

Play and stop functions are applicable for audioplayer and audiorecorder objects. An audio played by audioDeviceWriter can be st...

1 month ago | 2

Answered

Quantizer modelling in Simulink

I am assuming that you are modeling 3rd order delta sigma ADC using uniform quantization. You can use the ‘Idealized ADC Quantiz...

Quantizer modelling in Simulink

I am assuming that you are modeling 3rd order delta sigma ADC using uniform quantization. You can use the ‘Idealized ADC Quantiz...

1 month ago | 0

| accepted

Answered

How do I display my waterfall plot with only curves?

I assumed some random data to generate waterfall plot. Please refer to the below code for generating waterfall plot in curves. ...

How do I display my waterfall plot with only curves?

I assumed some random data to generate waterfall plot. Please refer to the below code for generating waterfall plot in curves. ...

1 month ago | 0

Answered

How to convert/run Mathematica scripts in MATLAB

I found a similar case in which Mathematica needs to be linked with MATLAB. I would suggest you follow the link provided below. ...

How to convert/run Mathematica scripts in MATLAB

I found a similar case in which Mathematica needs to be linked with MATLAB. I would suggest you follow the link provided below. ...

1 month ago | 0

Answered

convert idtf data format to tf data format

I am assuming that you generated a transfer function using idtf command as shown below. num = [1 4]; den = [1 20 5]; sys =...

convert idtf data format to tf data format

I am assuming that you generated a transfer function using idtf command as shown below. num = [1 4]; den = [1 20 5]; sys =...

1 month ago | 0

Solved

Find state names that end with the letter A

Given a list of US states, remove all the states that end with the letter A. Example: Input s1 = 'Alabama Montana Nebras...

5 months ago

Solved

The Goldbach Conjecture, Part 2

The <http://en.wikipedia.org/wiki/Goldbach's_conjecture Goldbach conjecture> asserts that every even integer greater than 2 can ...

5 months ago

Solved

Kaprekar Steps

6174 is the <http://en.wikipedia.org/wiki/6174_%28number%29 Kaprekar constant>. All natural numbers less than 10,000 (except som...

5 months ago

Solved

Read a column of numbers and interpolate missing data

Given an input cell array of strings s, pick out the second column and turn it into a row vector of data. Missing data will be i...

5 months ago

Solved

Interpolator

You have a two vectors, a and b. They are monotonic and the same length. Given a value, va, where va is between a(1) and a(end...

5 months ago

Solved

Remove all the words that end with "ain"

Given the string s1, return the string s2 with the target characters removed. For example, given s1 = 'the main event' your ...

5 months ago

Solved

Find the peak 3n+1 sequence value

A Collatz sequence is the sequence where, for a given number n, the next number in the sequence is either n/2 if the number is e...

5 months ago

Solved

Return the 3n+1 sequence for n

A Collatz sequence is the sequence where, for a given number n, the next number in the sequence is either n/2 if the number is e...

5 months ago

Solved

Target sorting

Sort the given list of numbers |a| according to how far away each element is from the target value |t|. The result should return...

5 months ago

Solved

Make a Palindrome Number

Some numbers like 323 are palindromes. Other numbers like 124 are not. But look what happens when we add that number to a revers...

5 months ago

Solved

Who Has the Most Change?

You have a matrix for which each row is a person and the columns represent the number of quarters, nickels, dimes, and pennies t...

5 months ago