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...
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...
5 years 前 | 0
| 已接受
已回答
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 ...
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 ...
9 years 前 | 1
已回答
introducing a new variable
<http://www.mathworks.com/matlabcentral/newsreader/view_thread/315950 Hope this link helps.>
introducing a new variable
<http://www.mathworks.com/matlabcentral/newsreader/view_thread/315950 Hope this link helps.>
11 years 前 | 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...
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...
11 years 前 | 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) ...
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) ...
11 years 前 | 0
| 已接受
已回答
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...
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...
11 years 前 | 0
已回答
Making a heat map from three vectors
You may find this useful. http://www.mathworks.com/matlabcentral/newsreader/view_thread/21043
Making a heat map from three vectors
You may find this useful. http://www.mathworks.com/matlabcentral/newsreader/view_thread/21043
11 years 前 | 0
| 已接受
已回答
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 ...
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 ...
11 years 前 | 1
| 已接受
已回答
Formatting Multiple Curves in One Plot
Try plot(x,y1,x,y2,...,x,yn) instead of plot(x,[y1 y2 ... yn]).
Formatting Multiple Curves in One Plot
Try plot(x,y1,x,y2,...,x,yn) instead of plot(x,[y1 y2 ... yn]).
11 years 前 | 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.
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.
11 years 前 | 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...
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...
11 years 前 | 0
| 已接受
已回答
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...
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...
11 years 前 | 0
| 已接受
已回答
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 ...
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 ...
11 years 前 | 0
已回答
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(...
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(...
11 years 前 | 0
已回答
Share variables among my different GUI's
This <http://www.mathworks.com/matlabcentral/answers/2002 link> may be of help.
Share variables among my different GUI's
This <http://www.mathworks.com/matlabcentral/answers/2002 link> may be of help.
11 years 前 | 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 ...
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 ...
11 years 前 | 0
| 已接受
已回答
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(...
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(...
11 years 前 | 1
| 已接受
已回答
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(:...
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(:...
11 years 前 | 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...
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...
11 years 前 | 2
| 已接受
已回答
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');
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');
11 years 前 | 0
已回答
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...
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...
11 years 前 | 0
已回答
color map and color data
Unless you give the modified color data to colormap() it would not be updated. For example: load flujet; image(X); ...
color map and color data
Unless you give the modified color data to colormap() it would not be updated. For example: load flujet; image(X); ...
11 years 前 | 0
已回答
Saving for loop output in an array
Terry, this implementation has a different final value. a(m+1) = a(m) + a(m)*k + n; Do you want the same final value? ...
Saving for loop output in an array
Terry, this implementation has a different final value. a(m+1) = a(m) + a(m)*k + n; Do you want the same final value? ...
11 years 前 | 1
已回答
error !! horzcat CAT arguments dimensions are not consistent.
Vidya, you can solve your padding problem by # switching |vertcat| and |horzcat| (reasoning in the comment below) # image is...
error !! horzcat CAT arguments dimensions are not consistent.
Vidya, you can solve your padding problem by # switching |vertcat| and |horzcat| (reasoning in the comment below) # image is...
11 years 前 | 2
| 已接受
已回答
How do I join a single string with multiple strings?
Here you go, Tom. basepath = '/data/'; filebase = 'video_'; fileext = '.avi'; files = ['00a'; '00b'; '00c']; ...
How do I join a single string with multiple strings?
Here you go, Tom. basepath = '/data/'; filebase = 'video_'; fileext = '.avi'; files = ['00a'; '00b'; '00c']; ...
11 years 前 | 0
已回答
Undefined function or variable 'map' Error. How to fix?
Michael, you need to change line 9 from img = imread(Proj2Image); to [img,map] = imread(Proj2Image);
Undefined function or variable 'map' Error. How to fix?
Michael, you need to change line 9 from img = imread(Proj2Image); to [img,map] = imread(Proj2Image);
11 years 前 | 0
| 已接受
已回答
error reported using find function in legend
You had added an extra set of parenthesis: hst((...),'string') --> hst(...),'string' Here is the fixed line: lh = ...
error reported using find function in legend
You had added an extra set of parenthesis: hst((...),'string') --> hst(...),'string' Here is the fixed line: lh = ...
11 years 前 | 0
| 已接受
已回答
A question regarding matrices
Using |dlmread()|: function G = adjacencyMatrix() filename = 'myFile.txt'; delimiterIn = ' '; s...
A question regarding matrices
Using |dlmread()|: function G = adjacencyMatrix() filename = 'myFile.txt'; delimiterIn = ' '; s...
11 years 前 | 0
已回答
How to pick specific points and mark them on a plot?
Hi Marian Add this snippet: hold on; plot(i,temp(i),'*')
How to pick specific points and mark them on a plot?
Hi Marian Add this snippet: hold on; plot(i,temp(i),'*')
11 years 前 | 0
已回答
Numerate lines to a text file
Hi George A more rudimentary C like approach is as follows: [rows cols] = size(A); formatSpecRowNum = ...
Numerate lines to a text file
Hi George A more rudimentary C like approach is as follows: [rows cols] = size(A); formatSpecRowNum = ...
11 years 前 | 0