Community Profile

# Abhishek Gupte

Last seen: 5ヶ月 前 2011 年からアクティブ

All

バッジを表示

#### Content Feed

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

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

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

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

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

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

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

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

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

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

10年以上 前 | 0

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

10年以上 前 | 2

| 採用済み

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

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

| 採用済み

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

| 採用済み

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

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

| 採用済み

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

| 採用済み

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

| 採用済み

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

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

| 採用済み

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

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

| 採用済み

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

| 採用済み

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

| 採用済み

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

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

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

| 採用済み

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

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

| 採用済み