Community Profile

photo

Abhishek Gupte

Last seen: 10 days ago Active since 2011

Followers: 0   Following: 0

Message

Statistics

All
  • Knowledgeable Level 3
  • Solver
  • Revival Level 1
  • Knowledgeable Level 2
  • First Answer

View badges

Feeds

View by

Solved


Find all elements less than 0 or greater than 10 and replace them with NaN
Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...

5 years ago

Solved


Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

5 years ago

Solved


Column Removal
Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; ...

5 years ago

Solved


Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

5 years ago

Solved


Add two numbers
Given a and b, return the sum a+b in c.

5 years ago

Solved


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

5 years ago

Solved


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

5 years ago

Solved


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

5 years ago

Solved


Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

5 years ago

Answered
Simulink: fast execution of M-code class
The <http://www.mathworks.com/help/toolbox/simulink/slref/matlabfunction.html MATLAB Function Block> compiles the m-code within ...

12 years ago | 0

Answered
Explanation of Accelerator mode and listener functions
Yes, event-listeners do not work in non-Normal simulation modes. Event-listener functions are fired when the block methods t...

12 years ago | 2

| accepted

Answered
How to apply a FIR filter?
Try using the <http://www.mathworks.com/products/signal/demos.html?file=/products/demos/shipping/signal/introfdatooldemo.html FD...

12 years ago | 0

Answered
Sine Wave to Machine block?
I had answered a similar question a few months back. That was for a solar cell block. Yours is for an Async machine. Same princi...

12 years ago | 0

| accepted

Answered
Non-linear FRF
If you have Simulink, you can model this equation ( look at the documentation for the demo model 'vdp' for reference ). Then,...

12 years ago | 0

| accepted

Answered
Is there any way to repoen an XY Graph during a simulation once you have closed it?
No. This is why: 1. 'Look Under Mask' of the XY block. It is an S-function block; 2. During the initialization stage of the ...

12 years ago | 1

Answered
fdatool to fpga
When you select the 'Set quantization parameters' tool in FDATOOL, in the 'Coefficients' tab, I would recommend checking the 'Be...

12 years ago | 0

| accepted

Answered
how to implement delay to a real signal and calculate its conj complex ,i have an algorithm but it is very slow
Use <http://www.mathworks.com/help/releases/R2011b/toolbox/dsp/ref/dfilt.delay.html dfilt.delay> and <http://www.mathworks.com/h...

12 years ago | 0

| accepted

Answered
Autocorrelation and Alignment
1. Use XCORR in the Signal Processing Toolbox to find the correlation between the two signals; 2. Find the index of the max v...

12 years ago | 0

| accepted

Answered
TF from response graph
I assume that you have the frequency response data for a system and want to get the Transfer Function coefficients for the syste...

12 years ago | 0

Answered
matlab simulink
The 'To Workspace' block will write to the MATLAB base workspace. Given multiple 'To Workspace' blocks with the same variable na...

12 years ago | 0

| accepted

Answered
S-parameter in SIMRF
No existing functionality. You would have to design your own subsystem to achieve the same functionality as the <http://www.math...

12 years ago | 0

Answered
SIMRF-How to Set the S-parameters
Check out the SimRF Demo model 'simrf_low_if'. The SAW Filter block 'simrf_low_if/SimRF Hartley Receiver/SAW Filter' is actually...

12 years ago | 0

| accepted

Answered
noisy bode plot data
There isnt anything designed for smoothing frequency response curves specifically. Try using the <http://www.mathworks.com/help/...

12 years ago | 0

| accepted

Answered
How to connect simscape block with simpowersystem?
There are three main types of signals in any typical physical modeling block diagram: 1. Standard Simulink signals: Ports that...

12 years ago | 2

| accepted

Answered
Bode plot from a string of complex numbers
The ANGLE function returns angles only between +/- pi. When the 'actual' angle goes above pi or below -pi, the ANGLE function wi...

12 years ago | 0

Answered
Is the X-axis of my code in radians per sample
In case of your code, the X axis of the plot is just the index of the frequency response vector. If c_f is a 8000x1 vector, then...

12 years ago | 0

Answered
about GMSK demodulation
You 'can' use an MSK demodulator for demodulation of a GMSK signal but it will sub-optimal. A Gaussian filter needs to be there ...

12 years ago | 0

| accepted

Answered
Save S-parameter in matlab
1. You need to create an RF Data Object from your available data. Doc page is <http://www.mathworks.com/help/releases/R2011b/too...

12 years ago | 0

Answered
Simulink - automatically hide the name of a new block?
There is no way of automatically hiding the block names the moment you drop a block into a model. There is no setting in Simulin...

12 years ago | 7

| accepted