# Vivek Selvam

Followers: 0 Following: 0

**Statistics**

RANK**879**

of 293.222

REPUTATION**82**

CONTRIBUTIONS

**0** Questions

**36** Answers

ANSWER ACCEPTANCE **
0.00%
**

VOTES RECEIVED**11**

RANK

of 20.009

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Feeds**

MATLAB Coder for FSK Demodulation

Hi Mounika, Code generation is successful when using Name-Value pairs for comm.FSKDemodulator as follows: fskDemod_M = comm.FS...

bijna 5 jaar ago | 0

| accepted

SAMSUNG GALAXY S4 CANNOT run simulink model on it

This is because the <http://www.mathworks.com/help/releases/R2015a/simulink/slref/display.html Simulink Display> blocks are not ...

meer dan 9 jaar ago | 1

introducing a new variable

<http://www.mathworks.com/matlabcentral/newsreader/view_thread/315950 Hope this link helps.>

meer dan 10 jaar ago | 1

Why isn't my color assignment working in this bar graph?

<http://www.mathworks.com/matlabcentral/answers/99092 This link says how to.> Hope the following illustration helps. Slope...

meer dan 10 jaar ago | 0

create a new matrices by using existing matrices

Hope this helps. x = a(:,1) y = a(:,2) want = [2 3 4] choose = ismember(x,want) & ismember(y,want) ...

meer dan 10 jaar ago | 0

| accepted

can you help me to programming algorithm of x^n and n! ,and plotting in same figure

This may help you get started doc hold doc factorial doc power vectorization : http://www.mathworks.com/help/matla...

bijna 11 jaar ago | 0

Making a heat map from three vectors

You may find this useful. http://www.mathworks.com/matlabcentral/newsreader/view_thread/21043

bijna 11 jaar ago | 0

| accepted

Z must be size 2x2 or greater. HELP

1. |T5| needs to be a matrix but is a vector. Check |size(T5)|. You would want to change the order of these lines from ...

bijna 11 jaar ago | 1

| accepted

Formatting Multiple Curves in One Plot

Try plot(x,y1,x,y2,...,x,yn) instead of plot(x,[y1 y2 ... yn]).

bijna 11 jaar ago | 0

Write a function that accepts a variable number of input parameters using the cell array varargin, and outputs a variable number of arguments using the cell array varargout.

doc varargin doc varargout doc is* should help you get started.

bijna 11 jaar ago | 0

collect data from a text file without a uniform structure

Since the file is not uniform, you would need a loop to process line by line. Following is a way you can try: filename...

bijna 11 jaar ago | 0

| accepted

Did not find solar cell block in 2010a, 2011a and 2013a matlab

The solar cell block is available under SimElectronics library. To check if it is installed, type |ver| in the matlab comman...

bijna 11 jaar ago | 0

| accepted

index out of bounds because size(yout)=[0,0] / optimization with fmincon

In your code, you have initialized |yout| to an empty matrix ( |yout| = |[]|). Then in function |trackmmobj|, you are trying to ...

bijna 11 jaar ago | 0

Solved

Cell joiner

You are given a cell array of strings and a string delimiter. You need to produce one string which is composed of each string fr...

bijna 11 jaar ago

Solved

Bullseye Matrix

Given n (always odd), return output a that has concentric rings of the numbers 1 through (n+1)/2 around the center point. Exampl...

bijna 11 jaar ago

Solved

Nearest Numbers

Given a row vector of numbers, find the indices of the two nearest numbers. Examples: [index1 index2] = nearestNumbers([2 5 3...

bijna 11 jaar ago

Solved

Return the largest number that is adjacent to a zero

This example comes from Steve Eddins' blog: <http://blogs.mathworks.com/steve/2009/05/27/learning-lessons-from-a-one-liner/ Lear...

bijna 11 jaar ago

Solved

Which values occur exactly three times?

Return a list of all values (sorted smallest to largest) that appear exactly three times in the input vector x. So if x = [1 2...

bijna 11 jaar ago

How to construct this vector without loop?

vec = 3*(1:n); A = cell2mat(arrayfun(@(x) 1:x,vec,'UniformOutput',0)); or vec = 1:n; A = cell2mat(arrayfun(...

bijna 11 jaar ago | 0

Share variables among my different GUI's

This <http://www.mathworks.com/matlabcentral/answers/2002 link> may be of help.

bijna 11 jaar ago | 0

help with concatenation to open file

Try |doc function| for the new functions you find in the following code. This is one way to do what you want: a ...

bijna 11 jaar ago | 0

| accepted

How can I suppress or change the error message 'Undefined function or variable'

You can try this: number = ''; % str2double returns NaN if input is not a real or complex scalar value while isnan(...

bijna 11 jaar ago | 1

| accepted

convert a double array to something like logical

Hi Theodor, You can try a look-up table like this: lut = logical(diag(ones(1,7))); A = [1 5 7 4]'; S = lut(A(:...

bijna 11 jaar ago | 0

How to calculate a angle between two vectors in 3D

This code uses your angle calculation and shows for different reference points (3d). 2d is the same for your formula. % Or...

bijna 11 jaar ago | 2

| accepted

How to sort data once it is read into matlab

This should solve your problem. data = textscan(fid, '%s %s %s'); instead of data = textscan(fid, '%s %f %f');

bijna 11 jaar ago | 0

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

bijna 11 jaar ago

Solved

Remove the vowels

Remove all the vowels in the given phrase. Example: Input s1 = 'Jack and Jill went up the hill' Output s2 is 'Jck nd Jll wn...

bijna 11 jaar ago

Solved

Summing digits

Given n, find the sum of the digits that make up 2^n. Example: Input n = 7 Output b = 11 since 2^7 = 128, and 1 + ...

bijna 11 jaar ago

Solved

Sort a list of complex numbers based on far they are from the origin.

Given a list of complex numbers z, return a list zSorted such that the numbers that are farthest from the origin (0+0i) appear f...

bijna 11 jaar ago

dB scale (log scale) of a polar plot graph

You can try this: <http://www.mathworks.com/matlabcentral/fileexchange/26476-a-basic-polar-plot-tool-in-db-linear-scale Polar P...

bijna 11 jaar ago | 0